The fact that I have to use the mouse to select where I am searching and what files I'm searching is such an annoyance that I have seen my productivity drop below my vc code using colleagues. Search in general in Rider(and all other jb products) is simply not on par on what I would expect from something that actually cost money. If you exclude them completely, you won't get code completion for library methods - excliuded files are not indexed and thus aren't available in completion >If I exclude node_modules, I won't get code autocomplete suggestions for methods defined in those libraries? Hopefully I'm mistaken :) But they are still indexed for completion, so that you get suggestions from library files in your source code the editor doesn't report errors in these files. ![]() If you open a file from a library in the editor, you will see that the highlighting level is set to Syntax or NONE for them - i.e. Can you clarify what this means: "inspections are not enabled for library files, so adding these folders to JavaScript libraries turns inspections off for them"? No way, please vote for and linked tickets How can I choose one for search activated by double-pressing Shift? For Find in Path, the developer can choose a custom scope. To make it work, you need to prefix your scope pattern with file:*/& to overwrite the default scope - see for explanation Excluding libraries from custom scope is a bit tricky. JavaScript libraries are only included when using Directory scope with corresponding folder selected, or when using custom scope with explicit filters. Project scope doesn't include libraries, so you can use it if you don't like to see files from node_modules in search result. Node_modules are only partially excluded - direct dependencies listed in package.json are added to JavaScript libraries and thus included in index. ![]() Is that something that the JetBrains team can consider? I think that by default, searching should not look in node_modules, given how many dependencies even the simplest Node project tends to pull in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |