Open spotandjake opened 1 year ago
@spotandjake I think this is probably a feature request for the vscode "language server protocol" library because if they would send a request, we'd respond. I might be wrong, so more investigation is required.
Investigating this a little more I think this may be best handled by silo. We currently keep a hashtable of all the compiled files and we only update the compilation of a file when it is edited, silo will allow us to track project dependencies and manage this neatly.
Currently the grain lsp only reruns when you modify the file this is nice but if you are fixing an issue in another file and come back that error is still there until you change it, it would be nice if on refocus to the file the lsp reran.