usethesource / rascal-language-servers

An LSP server for Rascal which includes an easy-to-use LSP generator for languages implemented in Rascal, and an interactive terminal REPL.
BSD 2-Clause "Simplified" License
14 stars 8 forks source link

Detect and warn about an incorrect project setup #411

Closed DavyLandman closed 3 months ago

DavyLandman commented 3 months ago

This module now checks for some common errors:

Some screenshots:

image image

Btw, yes, we could do this in rascal with some validation, but that would involve another extension on the LSP protocol. Until we've grown the checker to deal with this properly, we can help the user make less mistakes.

Ideally we would also add some quick fixes, but that's not always so simple to figure out.

This prevents cases like #410 and #341, or at least leaves the user less confused.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud