|
Ruby Plugin 0.2 requires at least IntelliJ IDEA 7.0 (Selena EAP 7255 or greater) |
Features
Ruby Features
Editor
- Highlighting Ruby 1.8.5 syntax
- On-the-fly syntax error lookup
- Brace matching
- Code folding
- Reformat code
- Surround with
- Smart statements complete: insert end, quotes, braces when needed
- Smart indents
- Code style settings support (indent size, show method separators)
- Additional highlighting for system calls (attr_reader, attr_writer, require, load, include, extend etc)
- TODO tasks support in comments
Navigation & autocomplete
- Convenient navigation through code and libraries
- Ruby structure view, quick structure popup (Ctrl+F12)
- Go to class, file, symbol (on project and SDK sources)
- Go to declaration, quick declaration view (Ctrl+Shift+I)
- Context info (Alt+Q)
- Scope based autocompletion. Stubs for built-in ruby(1.8.6) methods are bundled
- Convenient override gutters for classes, modules and methods
- Method parameter info is available (Ctrl+P)
- Autocomplete and resolve in require and load calls
Refactoring
- Find usages for local variables, method parameters, class fields and constants
- Rename for local variables, method parameters, class fields and constants
Execution
- Ruby run configuration, quick script execution (Ctrl+Shift+F10)
- Using the JRuby interpreter to run Ruby applications
- Test Unit run configurations support. Quick tests launch
- testing a specified method
- running all tests in a specific class or a folder
- Analize stack trace with navigation
Help
- RDoc smart toolbar (with hyperlinks and navigation)
- Availability of JavaDoc-style help for classes,modules,methods, etc
Intentions
- String to symbol intention action
- Relative path to absolute path intention
Other
- Local variable scope inspection
- More than 50 Ruby and RSpec live templates
- Shortcuts settings for rake tasks, generators, rspec, etc
- Plugin page with plugin version, build and useful links in setting
- One click Ruby plugin error submit (create JIRA issue)
Rails Features
- Rails support
- Rails skeleton application generation
- Handy tools for developing generators, models etc
- Rake tasks from context menu
- Advanced Rails project view with navigation
- One click goto view/controller
- RHTML support (erb & builder)
- RHTML formatter
- Support for run configurations of standard Rails servers (WEBrick, Mongrel, etc)
- Quick insert action in action controller
Experimental
Inspections:
- Duck type inspection. This inspection tries to find out the duck-types of methods call and warns you if given arguments don`t corresponds the necessary types.
- Resolve inspection. Warns you about elements, that cannot be resolved properly. (Sometimes slow)
These inspections are disabled by default, you can enable them at Settings|Errors|Ruby