Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to avoid continually reparsing #14

Closed
memeplex opened this issue Aug 4, 2014 · 3 comments
Closed

Add an option to avoid continually reparsing #14

memeplex opened this issue Aug 4, 2014 · 3 comments

Comments

@memeplex
Copy link

memeplex commented Aug 4, 2014

js2 provides an idle timer option that makes possible a more terse linting:

mooz/js2-mode#29

But ac-js2 plays bad with it as it's continually forcing a new reparse. Please add an option to supress this behavior, I don't care the AST to be a bit outdated but I do care about the distracting spurious messages the reparsing is triggering.

@ScottyB
Copy link
Owner

ScottyB commented Aug 10, 2014

Is this what you were after 93e176b? Constant messages are a bit of a pain while trying to autocomplete. I supposed I could call js2-mode-reset-timer when ac-js2-force-reparse has been disabled to prolong the time until a message would show up.

@memeplex
Copy link
Author

Yes, it was exactly that. Thank you!

@ScottyB ScottyB closed this as completed Aug 12, 2014
@ScottyB
Copy link
Owner

ScottyB commented Aug 12, 2014

No worries :)

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

No branches or pull requests

2 participants