Ruby dev environment
-
my current workflow is:
1.writing scripts in notepad++ (pretty good syntax highlighting, but haven't found any autocomplete functionality)
2.each change of a script has to be saved
3.after each change I have to load the script in sketchup with the script_loader.rb
4.run the script with open ruby console to debugI have come across sketchup bridge by tbd, but I would like to here from you about your workflow and possible enhancements to mine.
-
Hi,
I use RDE (good and custom highlighting) along with the Ruby toolbar by J.Foltz.
Clicking on an icon to load a rb is much faster than using the Plugins/Load script menu.
I also made myself an icon to test each new function. -
nice tip didier, thanks. btw is it possible to have the ruby console accept entire paragraphs of script instead of only a line?
-
I use RDE/Bridge combo with ALT+F1 to send what I wrote in RDE to SU.
-
@unknownuser said:
btw is it possible to have the ruby console accept entire paragraphs of script instead of only a line?
Unfortunately no.
-
I guess the Aptana Eclipse PlugIn for RadRails would also work well. It includes what appears to be a good ruby editor and debugger (you can ignore the RadRails bits after installation). The community version is still free and more than adequate as a code editor.
I use the Zend Studio Neon which is a PHP equivalent and, despite some shortcomings, prefer it to the full Zend studio.
Bob
-
@a4chitect said:
nice tip didier, thanks. btw is it possible to have the ruby console accept entire paragraphs of script instead of only a line?
Maybe WebConsole. I use it sometimes for testing longer snippets.
http://sketchuptips.blogspot.com/2007/08/plugin-webconsolerb.html
-
@didier bur said:
Hi,
I use RDE (good and custom highlighting) along with the Ruby toolbar by J.Foltz.
Clicking on an icon to load a rb is much faster than using the Plugins/Load script menu.
I also made myself an icon to test each new function.Didier, Thanks for the recommendation. The latest version can always be had here
-
yeah thanks! how comes I forgot I had this downloaded thanks jim
@jim said:
@a4chitect said:
nice tip didier, thanks. btw is it possible to have the ruby console accept entire paragraphs of script instead of only a line?
Maybe WebConsole. I use it sometimes for testing longer snippets.
http://sketchuptips.blogspot.com/2007/08/plugin-webconsolerb.html
-
I find Notepad++ easy and nice. Here please find some files which makes ruby editing in Notepad++ easier. The ruby.xml goes to plugins/API folder and the stylers.xml goes into C:\Documents And Settings(users)\application support\notepad++ (or something like that... I wish I had windows right now). Further instructions in the notepad++ website. ruby.xml makes the autocompletion easy.
Happy scripting!!!
Advertisement