Including non-project classes/files/symbols "by default"

When I am doing Ctrl+N (or Ctrl+Alt+N, Ctrl+Alt+Shift+N), I get popup with a little check-box that indicates whether the search is within project or not.
It's unchecked by default and if I were to do check outside the project as well, I have to generally do Alt+N or Alt+whatever the underlined character is.

Is there a way to configure RM to check this by box by default? I want to avoid Alt+N since I do this operation often and in a Rails project what I want to search for is generally outside the project.

-Kedar

1
5 comments

Hi,

RubyMine automatically looks in "non-project" classes if nothing matching to your pattern hasn't been found in your project sources.

0

Hi Roman,

I am sorry, but I don't find it that way :(.

Image 1: Without alt-N I am trying to find a symbol "limit" in Rails project.
without-check-non-project.png
Image 2: With alt-N, the same thing:
with-non-project-checked.png

What am I doing wrong? I want the symbol to be searched everywhere without having to do alt-N.

Thanks,
Kedar

0

Ok,

I said "nothing matching to your pattern hasn't been found in your project sources". In your case "limit" JS parameter was found in first case thus RM didn't tried to look in all libraries. I've understood your use case.

0

Anybody found a solution to this? I'm also facing the same issue

0

@Robotreply,

does it mean that you want that option (to search in non-project files) to be enabled by default or that it doesn't search there in case there's no match in project's files?

0

Please sign in to leave a comment.