Ahhh, I see. Unfortunally at the moment RubyMine cannot align role => .... automatically. Are there any other cases? Because this one seems to be quite usual to support it without adding any options for regions that won't be formatted.
I would not expect jetBrains to AUTOMATICALLY format this sort of thing - all I ask is for some sort of "leave it alone" comment hook to prevent REFORMATTING stuff that I've taken pains to whitespace to my liking.
Hello Dave,
At the moment we don't have any mechanism for this, what's wrong with default behaviour?
Regards,
Oleg
Sorry - I thougght I had replied earlier but the response didnt' go through.
The use case is having a "formattted whitespace block" such as....
foo << {:id => 1, :name => "Barney", role=> "Admin"}
foo << {:id => 2, :name => "Fred", role=> "User"}
foo << {:id => 3, :name => "Betty", role=> "User}
I have lots of code like this at work but its the weekend....
If you want to preserve whitespeace on this but still format the page it would be good to have avenues for this.
Otherwise -- excellent IDE!
Hello Dave,
Ahhh, I see. Unfortunally at the moment RubyMine cannot align role => .... automatically. Are there any other cases?
Because this one seems to be quite usual to support it without adding any options for regions that won't be formatted.
Thanks a lot, appreciate it!
Regards,
Oleg
I would not expect jetBrains to AUTOMATICALLY format this sort of thing - all I ask is for some sort of "leave it alone" comment hook to prevent REFORMATTING stuff that I've taken pains to whitespace to my liking.
Hello Dave,
I've created an issue for you: http://youtrack.jetbrains.net/issue/IDEA-75196
Feel free to vote, comment and get notified once it is fixed.
Regards,
Oleg