Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Remember files that timed out in Tern #8269

Merged
merged 2 commits into from
Jul 16, 2014

Conversation

redmunds
Copy link
Contributor

This is a squashed version of PR #8198. See for more comments.

This is to finish Trello Card: https://trello.com/c/2ra9FzGL/1284-m-js-code-hints-automatic-crash-preventer

@redmunds
Copy link
Contributor Author

@dangoor Remaining issue is discussed in this comment thread.

// The defaultExclusions are the ones we ship with Brackets to filter out files that we know
// to be troublesome with current versions of Tern. They can be overridden with a .brackets.json
// file in your project. defaultExclusions is an array of globs.
var defaultExclusions = PreferencesManager.get("jscodehints.defaultExclusions") || [];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should get rid of defaultExclusions at this point. Automatically detecting problem files seems better and more scalable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think anyone is using it to exclude entire folders for performance? Doesn't hurt to leave it in.

@redmunds
Copy link
Contributor Author

@dangoor Ready for another review. I think it would be safer to leave defaultExclusions in place in case anyone is using it.

@redmunds
Copy link
Contributor Author

@dangoor OK, I removed defaultExclusions pref.

@dangoor dangoor merged commit f13b271 into master Jul 16, 2014
@dangoor
Copy link
Contributor

dangoor commented Jul 16, 2014

Looks good. I noticed that the string said jscodehints.exclusions instead of jscodehints.detectedExclusions so I fixed that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants