Method highlighting, operator highlighting, and other help
Hi folks, I am a new user, coming from Netbeans 6.8, I always used Netbeans more as a text editor than an IDE, and I want to ease in to IDE features. There are a handful of things I'm having trouble figuring out in my configuration, any help would be awesome.
1, In Netbeans method calls would be highlighted, in Rubymine it seems by default only declarations are. For example:
def foo
end
def bar
foo
end
The def foo, and def bar, have highlighting, but in my bar method, the foo is not highlighted, this is been a real hard adjustment for me, any way to highlight method calls?
2, I've noticed the following operators don't have highlighting, while other similar ones do...
Don't have highlighting:
'&&', '||', '!='
Do have highlighting:
'and', 'or', '=='
Is there a place to add those operators to the highlights?
3, Is there a way to turn off the 'this variable name is too long' and 'find methods should not be called by xxx' type of messages?
4, Occasionally Rubymine seems to stall for 10-15 seconds, I think it is trying to process some sort of auto complete behind the scenes, even though I have tried to disable any automatic auto complete features or popups.
5, Besides my primary rails project folder, there is another folder that I need to heavily use, is there a way to add this folder to the project explorer window?
Thanks for any help anyone can provide, I'm really impressed by this IDE so far and hope I can get a few of these issues worked out.
请先登录再写评论。
Unfortunally this is not supported yet, please note, that paramters and local variables are highlighted, so you can distinguish call from local variable. Anyway feel free to submit issue at: http://youtrack.jetbrains.net/issues/RUBY
You can configure this here: File | Settings | Editor | Colors and Fonts | Ruby | Operation sign
You can place caret on the hihglighted token, press Alt+Enter and opt Disable inspection or Supress. Later you should be able to restore it at File | Settings | Inspections.
We are working on the problem at the moment, feel free to vote and comment: http://youtrack.jetbrains.net/issue/RUBY-10260
At the moment this is not possible at the moment, you can open projects in separate windows.
Regards,
Oleg