Rails on Notepad++
*EDIT* after coding sometime I decided to redo some of the color schemes. Specifically, the color balance was off.
I’ve replaced the links and images with the new ones below.
Notepad++ with Launchy is now my official Rails development IDE. Launchy is to emulate “open resource” of eclipse – something that I can’t live without anymore. Notepad++ is lighter, faster, cleaner, and with some good color schemes and customization, a very comfortable editor especially for those long long coding nights.
Launchy is a great open source command line launcher that caches all the files with extensions that you want inside a folder. To make it emulate open resource, add .erb .rb .css extensions, and make it cache the folder that contains your project. Also make sure .erb, .rb, and .css files are associated with Notepad++. Finally, set the shortcut to whatever open resource used to be (ctrl+shift+r for me).
pink?? (it stands out). You can replace it with Yellow or something less trendy if you want.
If you are in doubt at how good Notepad++ can look, check this out:
I have both a custom color styles and a custom keyboard shortcuts: The custom font in the styles is Consolas.
To use replace the old xml in your %APPDATA%/Notepad++/ (typically, c:/documents and settings/<username>/application data/Notepad++/ it might be hidden). Back it up first!
————-
new colorscheme:
old colorscheme:
stylers.xml (Right click, save link as… Rename it to stylers.xml)
————-
Also, if you are having trouble with .erb files having wierd <% %> tags, overwrite the old SciLexer.dll with this one in your C:/Program Files/Notepad++ folder: scilexer.dll (rename to SciLexer.dll) Notepad++ hardcodes <% to be read as ASP tags and treats ‘ as a comment. The new SciLexer.dll is a compiled version that removes the check for the ‘ as a comment in ASP tags (it doesn’t fix all the problems of it, but it looks good enough).
shortcuts.xml (Right click, save link as… Rename it to shortcuts.xml)
One day I’ll figure out how to upload xml files into a blog post.
The only thing that I have yet to do is to open up a console in Notepad++; I’m sure its doable too.






Hey thanks for this! I like your colour scheme.
goldy
January 4, 2009
your welcome
thanks for using it.
joydispenser
January 8, 2009
[...] no responses I have been using notepad++ for rails for about a month now, and I’m loving it. See original post for my setup. [...]
Rails on Notepad++ (2) Plugins for Notepad++ « The ruby-way road
January 8, 2009
Thank you!
sangwook
January 15, 2009
[...] a side note, I’ve been doing some rails development, and this blog post has some nice highlight and shortcuts Notepad++ setup for .erb [...]
Windows and open source | The Magister’s Terrace
April 23, 2009
“”"The only thing that I have yet to do is to open up a console in Notepad++; I’m sure its doable too.”"” you can do that by using run, specify cmd /d “some_command_to_execute” and prompt will stay alive after command execution
Alex
June 2, 2009
Not so sure about the colour scheme (though a dark background is easier on the eyes than a white one), but thanks for the SciLexer fix
DerekK
July 20, 2009