![]() I've used both NetBeans and RadRails/Aptana Studio on Ubuntu linux.RubyMine is hands down the better product. Luckily a thirty day trial is available to challenge your opinions.Ĭoming down the line, RubyMine 1.1 is already in the release candidate stage, and in the fall will be coming RubyMine 1.5 with anticipated support for Ruby 1.9, Cucumber, RCov, an integrated SQL console, and improved refactoring tools.ĭisclaimer: JetBrains, the company behind RubyMine, is a sponsor of Ruby Inside. Compared to what JetBrains charges for its Java IDE, this is a bargain, though ultimately may be hard for some Rubyists to stomach. ![]() It's a proprietary product available under two licenses, a free license for proven open source developers (there are some criteria), and the more typical $99/£74 commercial license. Short of a few minor issues, I'm seeing very little negative towards RubyMine, and even a few people who supposedly "hate" IDEs have given it a fair trial - high praise, indeed.ĭepending on your stance, one potential downside is that RubyMine is not an open source IDE. IDEs don't tend to be popular in Rubyland, but from observing people's responses to RubyMine both online and at RailsConf, I think RubyMine might well be the first cross-platform Ruby IDE that developers actually seem to love in droves. If you want to learn more about the background, motivation, and technical details behind RubyMine, check out this awesome interview with JetBrains developer Dmitry Jemerov. Does not support 1.9-specific features yet. Suitable for use with MRI Ruby 1.8.x, JRuby, IronRuby, and MacRuby.Assisted unit testing - supporting RSpec, Test::Unit, and test/spec.Version control integration - SVN, Git, CVS, and Perforce.Advanced navigation - including seeing overridden methods on the fly.Automatic code inspections - basic errors pointed out with one-click quick fixes.Just some of the biggest points to whet your appetite: It's a great IDE - check out the free 30 day trial to get a feel for it. This month, the final RubyMine 1.0 was released for public consumption. Many of the processes and views I write contain embedded SQL statements.īefore finding this bundle, I used to have to copy the SQL from TextMate into NaviCat, test and run it, then copy it back.Back in April, we posted about the release of the beta of RubyMine 1.0, an IntelliJ IDEA based Ruby and Rails IDE. I write a lot of code that queries PostgreSQL databases, which means I write a lot of SQL. I only found this one recently, but it comes in handy a lot. Hit Done, restart TextMate and run TODO again to see your new marker matches. Add a new marker and replace the regular expression to catch the rest of the comment. To add your own markers, go to the cog menu, find the TODO bundle and click Preferences…. The TODO bundle in TextMate 2 searches the current project tree for comments with TODO, FIXME, CHANGED and RADAR and displays them in the output window. I don’t know about you, but I often leave TODO and HACK comments in my code to remind me about things, and then forget about them. The git bundle even has a config option to enable you to change your global settings. Options include seeing the changes to be committed, amending commits, viewing branches and of course, the ability to commit changes. The ⌘y key brings up a menu of Source Code Control commands that you can use instead of leaving the editor and using the command-line.You can see which files have uncommitted changes instantly. TextMate shows the current status of each file in the file browser.If you use git, mercurial or subversion, install the matching bundle. ![]() Some Useful Bundle Tips Source Code Control Now you can copy, copy, copy, then switch files and paste, paste, paste. ⌃⌥⌘V: Brings up TextMate’s clipboard history.⌃_: Toggles the selected name between CamelCase ( HomeBrew), underscores ( home_brew) and nerdCase ( homeBrew), useful when you use the wrong convention in code (especially if you code in multiple languages).It works on the quotes surrounding the cursor. I use this a lot in Ruby as I normally create strings without interpolation (single-quotes) and then need to change it later. This works well for all brace keys ( [, ( and ). For example, pressing the ( key inserts a ) as well (and where the caret is between the paired characters). Auto-pairingĪuto-pairing is when you type in a character that should be paired in code, and the editor ensures the paired character is also inserted. There are many ways it does this but today I want to talk about auto-pairs and completions. ![]() TextMate 2 tries to reduce the number of keystrokes you need to make to generate good code. This post follows up with a mish-mash of more tools, ideas and tricks that I also use surprisingly frequently. Previously, I wrote about the TextMate 2 Basics that I use all the time, and I recommend you read that post first. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |