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.

0

>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
Avatar
Permanently deleted user

@Elena - perfect!  That worked.  Thank you!

1

请先登录再写评论。