-
Notifications
You must be signed in to change notification settings - Fork 7.6k
JS code hint exclusions ignored sometimes #7342
Comments
@zaggino I'm guessing that it will always look at the text in the current editor, and thus the prefs only prevent it from going out and loading other files that aren't actually open. But haven't looked at the code to verify... |
More info @peterflynn
|
I can repro this. It's not even possible that the code hints parsed |
What I believe is happening here is that there are two ways in which a file is sent to Tern for generating hints:
The exclusion code is likely keeping the first code path from resulting in hints, but not preventing the second. That behavior doesn't seem right to me. |
Reviewed medium priority to me |
Doing this in a clone of brackets-git
Create a
.jscodehints
file like this:Now close all Brackets instances, start again, open

main.js
and start typing:I'd expect to see no hints from the file itself...
The text was updated successfully, but these errors were encountered: