Language Server
glenn2223 opened this issue · 0 comments
glenn2223 commented
Issues
Currently, there is no way of knowing that your SASS is invalid until you save. Other tools update the UI and highlight issues
Proposal
Create a language server utility which is called by the onDidChangeTextDocument
event. But, we only catch errors out not compile anything
Keeping #300 in mind, maybe compilation errors are disabled if the user has the language server enabled
TODO
- Research the language server best implementation
- See if we can output all errors and not just stop at the first (like it does with compilation)
- Ensure the method is called on the
onDidChangeTextDocument
event - Ensure the UI is updated with the red error wiggly underscores
- See if the autosave limitations (constant error popup) can be addressed