![]() Unfortunately, the one line of traceback that is not hyperlinked is usually the one I need to follow.Īt this point, if you develop Rails with IntelliJ IDEA and want to use a graphical debugger on occasion, you'd be well advised to use NetBeans or RadRails as a free secondary IDE. When command shell output is shown in a Run window, it is often - but not always - hyperlinked to bring up the appropriate line of code in an edit window. ![]() Code inspections and debugging aren't yet implemented for Ruby according to the company, a Ruby and Rails debugger is planned for the IntelliJ IDEA 8 release. Ruby and RHTML code coloring, formatting, refactoring, dependency analysis, and completion work well. Although the current Ruby plug-in for IntelliJ IDEA goes a long way toward making it a good Rails IDE, it isn't all there. IntelliJ IDEA is widely regarded as an excellent Java IDE and has managed to survive as a commercial product by dint of superior features in the face of strong competition from the free NetBeans and Eclipse products. JetBrains IntelliJ IDEA 7.0.3 with Ruby plug-in 1.0 Either RadRails or NetBeans will serve that purpose, for free. ![]() If you do use TextMate most of the time, you may occasionally find yourself in need of a graphical debugger or automatic refactoring. If the idea of TextMate's bundles and shortcuts appeals to you but you need to or prefer to develop on Windows, consider either E or Intype, both of which are reviewed briefly later in this suite. When I switched back to another editor and my fingers tried to use a TextMate shortcut, I was disappointed to have to go back and type out the whole syntax it was like losing the speed dial buttons on my phone. I missed the IDE features of RadRails when I was using TextMate, but as I started to learn the Rails bundle shortcuts and my memory of the various Rails command-line utilities returned, I could see how productive TextMate could become for a full-time user. It took me a while to warm up to TextMate, but once I did, I understood why its users become so attached to it. Once you discover all that functionality and get a handle on the UI, using TextMate is like having a helpful sprite looking at what you begin to type and then completing your intentions. Much of the functionality you expect is there, but it's not obvious until you pull down the Ruby or Rails bundle menu, press a shortcut key combination or type in the abbreviation for a snippet and press Tab.įor examples, see the online extract of the TextMate book or either this screencase or this one. TextMate looks entirely different from IDEs such as RadRails or NetBeans. (Yes, Doug, I'll be shipping it back real soon now.) Since I do most of my development on Windows, I had to borrow a Mac (in fact, a MacBook Pro) from InfoWorld to review TextMate firsthand. MacroMates TextMate 1.5.7Īs I mentioned in the introduction to this review suite, the entire Ruby on Rails core development team uses TextMate on Mac OS X. More information about NetBeans, including five videos, can be found here. For example, Eclipse fans may prefer RadRails or 3rdRail, and fans of "bundles" may prefer TextMate or E. Whether it should be your own pick, however, depends on your personal preferences. NetBeans may well be the overall pick of this review group, at least based on the numbers. It came configured for the fast debugger in JRuby but not standard Ruby I had a little trouble convincing it to switch to fast debugging for standard Ruby, but it did eventually catch on after a couple of restarts and an update. ![]() NetBeans uses the ruby-debug-ide gem for fast debugging. The number of predefined Ruby and RHTML templates in NetBeans pales beside the number of Java templates, but you can define your own templates. The code editor supports a number of shortcuts, snippets and code templates, including a subset of the TextMate snippets. If there is error output, references to lines of code are hyperlinked to make it easy to jump to the correct code, very much like 3rdRail. Any time you cause a command to run, it opens a new tab in the window at the bottom of the workspace for the output. Right-clicking in the project view brings up a context menu that lets you generate a new resource, create a new file, run or debug rake tasks, add plug-ins or run tests. This is similar to the way TextMate bundles behave, although not as programmable. ![]() Each common action has a keystroke equivalent displayed on the menu use the menu enough and you'll learn them naturally. In addition, a right-click in the code editor brings up a context menu that lets you navigate from action to view to test to declaration, rename, refactor, reformat, run, test, set a breakpoint, debug or find usages. The NetBeans Ruby source code editor demonstrates all sorts of intelligence about code formatting and syntax. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |