It is currently Thu Sep 02, 2010 9:58 pm

Registration
Login Help

Advertise Here

Notepad++ users: heads up

FAQMembersRegisterLogin

Notepad++ users: heads up

Postby Didier Bur on 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 !
You do not have the required permissions to view the files attached to this post.
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rhin.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 883
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: XP
SketchUp version: 6-7

Re: Notepad++ users: heads up

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

Awesomeness! :berserk:
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

Re: Notepad++ users: heads up

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

Excellent !
Frenglish at its best ! :)
My scripts
User avatar
Matt666
 
Posts: 745
Joined: Wed Dec 05, 2007 8:38 am
Location: 48.3193302,-1.4777946
Name: Matthieu Noblet
Operating system: XP Sp2
SketchUp version: 7 Free

Re: Notepad++ users: heads up

Postby Jim on 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.
I probably over-simplified that.
sketchup plugins & news blog
Jim
 
Posts: 2876
Joined: Mon Nov 12, 2007 10:13 pm
Name: Jim Foltz
Operating system: XP Pro SP3
SketchUp version: Google Pro 8.0

Re: Notepad++ users: heads up

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

Thanks...
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: Notepad++ users: heads up

Postby Heven7_floor on 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: ?
User avatar
Heven7_floor
 
Posts: 26
Joined: Thu Mar 27, 2008 4:09 pm
Location: Beautiful Sea
Name: PCT
Operating system: XP
SketchUp version: SU 6

Re: Notepad++ users: heads up

Postby Didier Bur on 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 !
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rhin.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 883
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: XP
SketchUp version: 6-7

Re: Notepad++ users: heads up

Postby Heven7_floor on 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
User avatar
Heven7_floor
 
Posts: 26
Joined: Thu Mar 27, 2008 4:09 pm
Location: Beautiful Sea
Name: PCT
Operating system: XP
SketchUp version: SU 6

Re: Notepad++ users: heads up

Postby Tomasz on 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
Tomasz
 
Posts: 559
Joined: Fri Nov 16, 2007 8:46 pm
Location: Poland
Operating system: WinXP \ Vista
SketchUp version: SU 6+ Free/Pro

Re: Notepad++ users: heads up

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

just got round to installing this, thanks very much for your effort in putting this together :thumb:
User avatar
remus
Global Moderator
 
Posts: 7995
Joined: Fri Nov 30, 2007 8:48 am
Location: UK
Name: remus
Operating system: vista
SketchUp version: 7.whatever

Re: Notepad++ users: heads up

Postby TBD on 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.
SketchUp Ruby Consultant | Podium developer
http://plugins.ro
User avatar
TBD
Administrator
 
Posts: 489
Joined: Wed Nov 14, 2007 10:47 am
Location: Romania
Operating system: iMac 27", Mac OSX 10.6.x
SketchUp version: Pro 7.x

Re: Notepad++ users: heads up

Postby NewOne on 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
User avatar
NewOne
 
Posts: 329
Joined: Thu Oct 23, 2008 6:21 pm
Location: Maramures, Romania
Operating system: Windows XP
SketchUp version: 7

SketchUcation One-Liner Adverts

by Ad Machine on 5 minutes ago

Use Your Google SketchUp Model to Create a Virtual World, Try 3DVIA Scenes Today!
Ad Machine
Robot
 
Posts: 2010


 

Advertise Here

Who is online

Users browsing this forum: No registered users and 5 guests