-
-
Notifications
You must be signed in to change notification settings - Fork 3
Smarter file processing #25
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
Comments
This doesn’t mean a file has changed. It means a watched file has changed. How this is used can be seen in So if a configuration file changes, all documents are checked again. |
That is an important caveat that seems like it’s something that should be in a comment next to the function? |
Maybe in the readme for
|
I’m okay on that too, but probably also perhaps a new section (Client?) on how to make a client (because Use should be one basic example, and API should be just about options) |
I think that’s basically what the |
It is the items in that list, and could be that section, but the current wording is different than what I’m looking for. That section currently explains what the code is doing. I’m looking for a list that explains what requests and notifications, must/should/could be sent, and when, by clients. |
Hi! This was closed. Team: If this was fixed, please add |
Initial checklist
Problem
workspace/didChangeWatchedFiles
means a file or folder changed. https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_didChangeWatchedFiles. Instead of reprocessing every markdown file (unified-language-server/lib/index.js
Line 264 in f222a65
Solution
perhaps we should use cheap hashes to ensure we only perform work when something changed.
Alternatives
n/a
The text was updated successfully, but these errors were encountered: