It is currently Tue Feb 09, 2010 12:00 am

Registration
Login Help

Advertise Here

Notepad++ users: heads up

Moderators: Jim, ScottLininger

FAQRegisterLogin

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://www.crai.archi.fr/RubyLibraryDepot
User avatar
Didier Bur
 
Posts: 777
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: 5445
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4
SketchUp version: 6.4&7.1 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: 744
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.
User avatar
Jim
Global Moderator
 
Posts: 2399
Joined: Mon Nov 12, 2007 10:13 pm
Name: Jim Foltz
Operating system: XP Pro SP3
SketchUp version: Google Pro 7.1

Re: Notepad++ users: heads up

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

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

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: 25
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://www.crai.archi.fr/RubyLibraryDepot
User avatar
Didier Bur
 
Posts: 777
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: 25
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: 478
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: 7491
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
 
Posts: 430
Joined: Wed Nov 14, 2007 10:47 am
Location: Romania
Operating system: iMac 20", Mac OSX 10.5.8
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: 327
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

Twilight Render - Design, Render, Relax
Ad Machine
Robot
 
Posts: 2009


 

Advertise Here

Who is online

Users browsing this forum: No registered users and 1 guest