-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Exclude sapper src/node_module
svelte files from being processing?
#316
Comments
We didn't set up the parsing of |
If you do this, please only ignore Btw, I do not have any problems with errors in |
I think we need to support this exclude feature, sometimes I need to open auto-generated files and check the source, but it generates errors and I need to restart the editor to get rid of the errors. |
Then we could just empty the diagnostic of closed file. The parsing of the exclude file config is hard for us. Typescript only has an API to parse the config file but not checking if a specific file should be excluded. So every opened file got processed. Even if we allow exclude and include of svelte files. It'll still not solved the problem for you. |
@jasonlyu123 so if it is also the behavior of typescript language I think you should also do that. |
Exclude and include is custom glob pattern. And it also involves relative path or absolute path, defaulting to include and exclude, the |
Regarding |
When a document is closed by the user, make its diagnostics disappear from the Problems tab sveltejs#316
When a document is closed by the user, make its diagnostics disappear from the Problems tab #316
I am using Svelte+Sapper+TypeScript, the language server always checks svelte files inside
src/node_module/internal
, is there a way to exclude this directory completely?I tried to add excludes to
tsconfig.json
file, but no chance.The text was updated successfully, but these errors were encountered: