Comments (3)
Have a look at solargraph: https://github.com/castwide/solargraph
It does this - uses YARD to power it's code-insight and auto-complete. You see it in action in editor extensions like for VSCode: https://github.com/castwide/vscode-solargraph
Example project setup for VSCode using Solargraph and the SketchUp Ruby API stubs: https://github.com/SketchUp/sketchup-extension-vscode-project
from sketchup-console-plus.
I have considered it.
It would multiply the size of this extension and require starting and properly shutting down the language server as a separate background process. It would be interesting to look into how to integrate it with information about live references in SketchUp's Ruby ObjectSpace.
It would be cool, but the effort is probably rather worth it if more people actually used it / knew about it. Currently, Ruby Console+ seems not to be the/a tool mentioned in education.
from sketchup-console-plus.
It would be interesting to look into how to integrate it with information about live references in SketchUp's Ruby ObjectSpace.
In my experience ObjectSpace
can be slow. I used it once in code that ran in a validation proc and it caused SketchUp to consume 100% of that CPU (while still being responsive though.)
Currently, Ruby Console+ seems not to be the/a tool mentioned in education.
I got plans to mention it in a developer blog article at some point. Want to focus more on educating extension developers about all the tools out there. This one has some unique features I want to highlight. (All too often I write small scripts to visualize data - only to remember that Console+ does have some of it already.)
from sketchup-console-plus.
Related Issues (20)
- Extension using `.singleton_class`? HOT 9
- Multiple warnings when on a Portuguese version HOT 7
- SketchUp Console+ closes when Geolocating HOT 1
- Error when transfering strings with non-UTF-8 compatible bytes HOT 2
- Tutorials HOT 3
- Warning upon launching Console+ 3.1.3 HOT 5
- Text in some console window is white on pale grey - almost ureadable HOT 1
- Points visualized as vectors? HOT 2
- Idea: In-console visualizations HOT 3
- undefined local variable or method `cp' HOT 1
- Draw 3d normals using view.draw? HOT 2
- super laggy some times
- Promise.then method conflicts with standard ruby in Sketchup 2021
- Documentation search not working?
- Console is lagging even after uninstalling console-plus
- Load error, ruby 3
- Display file paths in error trace as a links
- Sketchup2022(Get a reference to an entity in the model by picking it with the pointer.)not work HOT 1
- ReferenceError: ace is not defined HOT 1
- Intro to Sketchup tutorial fails on first step? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sketchup-console-plus.