-
Notifications
You must be signed in to change notification settings - Fork 13
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
incredibly slow with many files #70
Comments
why not just use whatever is loaded by tern as that info is available |
How to use tern-lint? With an editor? With line command? tern-lint
In tern.java (Eclipse), it uses the first (validates a given file" and it uses tern script path to know if file must be validated or not. If you use tern.java, you must exclude node_modules folder with yoru JSDT Install Path. |
i'm using the vim integration provided by syntastic vim-syntastic/syntastic@5462fdd |
really, i think the easiest option is using an environment variable or arg to exclude folders, is this already implemented? or is there another way? |
It seems that you are using tern-lint command https://github.com/angelozerr/tern-lint/blob/master/bin/lint is that? If it that, try to create a .tern-project with loadEagerly like described in the tern manual. |
why is loadEagerly needed? tern can resolve require statements and parse necessary files that way |
could this be run on a file rather than a directory? |
would you consider adding this to the default config, or something similar?
|
You have the same config than .tern-project. So you can use dontLoad too. I want to have the same behaviour than ternjs, so if ternjs doesn't add this default config, I don't want to add it. |
then using tern for autocomplete wouldn't work, but anyways the method of using load eagerly seems less effective than terns ability to find dependencies |
My idea is to have the same scope for automplete and lint. |
hey, i'll probably create a p.r. touching this function, to allow for a filename to be used, which will be the only file initially loaded with the server,would you accept something like this? |
I have given you an answer. I think it's a bad idea to use tern-lint command. I think you should use "lint" query (as "completion" query). |
can the file globbing be constrained to only required files, or made to not recurse search through folders?
The text was updated successfully, but these errors were encountered: