Cmd+click of JavaScript function definition shows results from Scratches folder
I Cmd+click on a function definition name and it not only shows the legit file it's called in, but also a file in the Scratches folder that's just a copy of source code I made from the browser for easier reading...

The purchase_form.html file is in one of the project folders, but ecomm_purchase is in the Scratches folder, completely separate from the Project.
What is going on? This is out of scope. I'm not seeing how to get PHPStorm to do its normal expected job of only checking project code files for functions, not things in the Scratches folder :/
Please sign in to leave a comment.
This is done at users' requests... See https://youtrack.jetbrains.com/issue/IDEA-140879
We do however have a request to exclude scratches from usages search, https://youtrack.jetbrains.com/issue/IDEA-211479. Please feel free to vote for it