Notepad++ users: heads up

Notepad++ users: heads up

Postby Didier Bur » Mon Jan 19, 2009 11:16 pm

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++).
tree.jpg

First make a backup of the original ruby.xml file, just in case !


Newer auto-complete files available here: viewtopic.php?f=180&t=33972&#p298769

1
Didier Bur
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: Notepad++ users: heads up

Postby thomthom » Tue Jan 20, 2009 8:16 am

Awesomeness! :berserk:
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: Notepad++ users: heads up

Postby Matt666 » Tue Jan 20, 2009 10:38 am

Excellent !
0
Frenglish at its best !
My scripts

Matt666 
 

Re: Notepad++ users: heads up

Postby Jim » Tue Jan 20, 2009 11:52 am

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"...

viewtopic.php?f=180&t=4796&p=25556&hilit=notepad+autocomplete#p111076

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.
0
Hi

Jim 
Global Moderator
 

Re: Notepad++ users: heads up

Postby TIG » Tue Jan 20, 2009 3:12 pm

Thanks...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Notepad++ users: heads up

Postby Heven7_floor » Tue Jan 20, 2009 5:57 pm

I am learning to code by RDE and bride.rb , and find Notepad++ ability as your all suggestions :thumb:
but I am trying be practice in RDE editor, I hesitate that I should change behavior to learning with NotePad++ or RDE :puke:
Do Notepad++ can bridge script to run in SU instantly as RDE :roll: ?
0

Heven7_floor 
 

Re: Notepad++ users: heads up

Postby Didier Bur » Tue Jan 20, 2009 9:30 pm

Hi,

However if you were truly lazy, you would have searched here for "notepad autocomplete"...

:evil: stupid me. I'll consider a "search" next time before doing the job myself :bounce:
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 !
0
Didier Bur
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: Notepad++ users: heads up

Postby Heven7_floor » Wed Jan 21, 2009 4:12 am

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 :D
0

Heven7_floor 
 

Re: Notepad++ users: heads up

Postby tomasz » Wed Jan 21, 2009 11:40 am

Thank you, Didier!
I am using Notepad ++ since very beginning and I like it very much.
I find it very useful.

Tomasz
0

tomasz 
SU2TH & SU2KT Developer
 

Re: Notepad++ users: heads up

Postby remus » Tue Oct 06, 2009 6:43 pm

just got round to installing this, thanks very much for your effort in putting this together :thumb:
0

remus 
 

Re: Notepad++ users: heads up

Postby tbd » Wed Oct 07, 2009 6:04 am

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.

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.
0
SketchUp Ruby Consultant | Podium 1.x developer
http://plugins.ro
User avatar
tbd 
 

Re: Notepad++ users: heads up

Postby NewOne » Wed Oct 07, 2009 7:47 am

here is how you do it using TBD's bridge sollution viewtopic.php?f=169&t=6903#p137855
0

NewOne 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Developers' Forum

Who is online

Users browsing this forum: No registered users and 9 guests

Visit our sponsors: