How to get "Mark Directory as Resource Root" from Webstorm in Rubymine?

Hey guys,

Lately I've been using Rubymine to develop an AngularJS component within a rails application.



I saw the previous JetbrainsTV screencast; around the 17:40 time, the host is marking a directory as a resource root, which enables ctrl + click on a templateUrl path as well as autocompletion.

How can this be accomplished using Rubymine? AFAIK, rubymine has all features of webstorm.

Thanks!

5 comments

Hi,

have you installed AngularJS plugin to RubyMine (as far as I remember) we do not bundle it but it is available in plugin repository.

Regards, Oleg.

0

Hi, Oleg

Yes, I have installed the the angular plugin.

Still, the only options I get when I right click a folder are

Mark as load path
Mark as test root


the load path option (as per the help documentation) works for require and load commands in Ruby but not templateUrl

thanks!

0

Hi,

I will contact our web team to get clarifaction.  It can take some time since we have long holidays now.

Oleg.

0

Hi,

it looks like a bug please file one in our tracker (http://youtrack.jetbrains.com/issues/RUBY)

Regads, Oleg.

0

Please sign in to leave a comment.