Choose Declaration > Hide minified files

When middle-clicking a function, I get the Choose Declaration dialog if there are multiple files.  Unfortunately the function names almost always exist in a minified form as well, which I don't want to click into.

Is there a way to disable this based on a file mask or something?  It's nice when it automatically goes to the function when there's only one existence of it, but that doesn't happen when a minifed version is there.  Thanks.

2 comments

>Is there a way to disable this based on a file mask or something?

No, there is no way to do this:( But you can exclude the folder with minified files from indexing by marking it excluded, or exclude minified files by adding them to Exclude files in Settings | Directories (https://www.jetbrains.com/help/webstorm/2018.3/settings-directories.html)

1

@Elena - perfect!  That worked.  Thank you!

1

Please sign in to leave a comment.