I've created ruby(or rails) project from existing sources but autocompletion in ruby code doesn't work.
[New project] -> [Create Project from existing sources] wizard is only for java based sources.
- If you want to create Ruby or ROR project from existing sources you
should choose: [New Project] -> [Create Project from scratch] -> choose Ruby
or Rails Project and set your source folder as Module Content Root ->
Select SDK -> etc. - If you want to create JRuby project from existing sources you should
created project with "Create Project from existing sources" and then
manually add JRuby Facet.(at current moment JRuby Facet autodetection isn't implemented)
How to run IDEA with disabled assertions?
- for Mac
0. Close IDEA
1. Open file /Applications/Selena-NNNN.app/Contents/Info.plist in text editor.
2. Find string at the end of file "<string>-Xms16m -Xmx192m -XX:MaxPermSize=92m -Xbootclasspath/p:../lib/boot.jar -ea -agentlib:yjpagent</string>"
3. Delete "-ea" parameter. (e.g. "<string>-Xms16m -Xmx192m -XX:MaxPermSize=92m -Xbootclasspath/p:../lib/boot.jar -agentlib:yjpagent</string>")
4. Save file and start IDEA - for Windows
0. Close IDEA
1. Open file C:\Program files\Selena-NNNN\bin\idea.exe.vmoptions in text editor.
2. Delete "-ea" parameter
3. Save file and start IDEA - for Linux
0. Close IDEA
1. Open file [IDEA_INSTALL_DIRECTORY]/bin/idea.vmoptions in text editor.
2. Delete "-ea" parameter
3. Save file and start IDEA
How can I get older Selena EAP build?
If current Selena EAP published at Selena EAPs page can be downloaded for example at:
http://download.jetbrains.com/idea/idea7274.exe you can try download older version at
http://download.jetbrains.com/idea/ideaNNNN.exe, where NNNN - is number of previous published EAP(previous 3 EAP builds are usually available).
How do I configure my Ruby SDK Home?
Ruby SDK home is considered to be a directory, containing bin subdirectory with ruby interpreter executable in it.
For example, if your ruby interpreter executable can be found at /usr/ruby/bin/ruby, please point RUBY SDK Home to /usr/ruby.
For Windows: C:\ruby or C:\InstantRails\ruby or C:\jruby-1.1 etc.
For Mac: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr, /usr, /opt/jruby-1.1 etc
IDEA prefernces pathes
- for Mac
- Config: ~/Library/Preferences/IntelliJIDEA70
- System: ~/Library/Caches/IntelliJIDEA70
- Plugins: ~/Library/Application Support/IntelliJIDEA70
- for Linux
- Config: ~/IntelliJIDEA70/config
- System: ~/IntelliJIDEA70/system
- Plugins: ~/IntelliJIDEA70/config/plugins
- for Windows
- Config: C:\Documents and Settings\user\.IntelliJIdea70\config
- System: C:\Documents and Settings\user\.IntelliJIdea70\system
- Plugins: C:\Documents and Settings\user\.IntelliJIdea70\config\plugins