Notepad++ users: heads up
-
Hi,
Using Notepad to code Ruby scripts, I was tired to write the names of SU-Ruby methods that have long names (yes, I'm a lazy guy). So I have added all the Sketchup Ruby methods to the standard Ruby auto-completion file that comes with Notepad++.
To use it: set auto-completion on in the preferences, set of course Ruby as your coding language, and move the attached XML file in the directory: YOUR_NPP_DIR\plugins\APIs (where YOUR_NPP_DIR is the directory in which you installed Notepad++).
First make a backup of the original ruby.xml file, just in case ![mod=:1fapnvti]Newer auto-complete files available here: http://sketchucation.com/forums/viewtopic.php?f=180&t=33972&#p298769[/mod:1fapnvti]
-
Awesomeness!
-
Excellent !
-
Thanks Didier. I don't use Notepad++ myself, but auto-complete can be a time-saver. I always wanted to create one for my editor.
However if you were truly lazy, you would have searched here for "notepad autocomplete"...
I hate to see effort spent on something that has already been done. Any suggestion on how to organize and make things easier to find? I have added these to the Ruby Resources sticky post in the Ruby Forum.
-
Thanks...
-
I am learning to code by RDE and bride.rb , and find Notepad++ ability as your all suggestions
but I am trying be practice in RDE editor, I hesitate that I should change behavior to learning with NotePad++ or RDE
Do Notepad++ can bridge script to run in SU instantly as RDE ? -
Hi,
@unknownuser said:
However if you were truly lazy, you would have searched here for "notepad autocomplete"...
stupid me. I'll consider a "search" next time before doing the job myself
@unknownuser said:
I hesitate that I should change behavior to learning with NotePad++ or RDE
I used to code with RDE (sometimes buggy. What I miss in Notepad++ is the code explorer of RDE, but believe me, Notepad++ is much better. I tried several code editors since 20 years, and I find Notepad++ the most powerful and cool to use, especially the braket/brace matching highlight, the syntax folding and the lines bookmarking. Worth a try !
-
As the few hours trying with Notepad++, I was interested in its feature, so it is quite valuable IDE
Thanks Didier , your suggestion is impressive -
Thank you, Didier!
I am using Notepad ++ since very beginning and I like it very much.
I find it very useful.Tomasz
-
just got round to installing this, thanks very much for your effort in putting this together
-
@unknownuser said:
Do Notepad++ can bridge script to run in SU instantly as RDE
any IDE can be used with SketchUp Bridge if it allows running another process with the current file in command line.
@unknownuser said:
I always wanted to create one for my editor.
I need to open source my play tools as I dont have time to improve them anymore - I made an autocompletion tool which uses SU Ruby, so you have all methods that are in an Object (even those custom defined later) at your fingertips.
-
here is how you do it using TBD's bridge sollution http://forums.sketchucation.com/viewtopic.php?f=169&t=6903#p137855
Advertisement