diagnosticProviders
See original GitHub issueWe currently have two ways diagnostics are generated, there might be more in the future:
-
elm make
-
elm analyse
-
Testing
-
Bugfixes
-
Possibility to give the path to both if they’re not installed global
Elm analyse works fine on windows for me.
Elm make tries to open the generated elm.js
every time it runs. Pretty weird, hopefully just something that happens when you run the dev version.
Linux says it doesn’t global installations, I do have them. So it might be my linux or a problem in general. No idea about macOS.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Lab Facilities: Designated Diagnostic Providers
Designated Diagnostic Providers are laboratories that meet broadly recognized quality and efficiency standards. UnitedHealthcare has invited all in-network free ...
Read more >Diagnostic Providers - IBM
Diagnostic Providers are a quick method for viewing configuration and the current state of individual components within an application ...
Read more >Quest Diagnostics: Home
Learn about solutions for lab excellence. Help your system deliver the benefits of diagnostic excellence every day. Explore solutions ...
Read more >Designated Diagnostic Provider - UnitedHealthcare
Designated Diagnostic Providers are laboratory providers and imaging centers that meet certain quality and efficiency requirements. If you have a Designated ...
Read more >Ten of the biggest companies in the global diagnostics market ...
The biggest in vitro diagnostics companies in the world right now are ... diagnostic for individuals suspected by their healthcare provider ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For the quick fix vs fix it is to allow nicer interoperability with the language server. Normally when you call elm-analyse to run a fix it will read the file from disk, fix it, write it back to disk, and format it with elm-format. The quick fix piece is there to allow it to work when the file hasn’t been written to disk yet, and to send back the new file content rather than writing it to disk.
It isn’t quite ready yet but I’ll have some time to work on it this week and have it upstream-able after that.
On the language server side I need to move up the
elmAnalyseDiagnostics
so that the same instance can be used for diagnostics as well as code actions (for speed and to prevent syncing issues), I started on it over in this one (https://github.com/elm-tooling/elm-language-server/compare/master...antew:feature/code-actions#diff-87377fe5c568eb8fd1cdf5c6f241e6ecR66), but the code is a bit jumbled now.I expect I’ll have PRs in to both projects by the end of this coming weekend.
I’ve got a prototype of this going
The biggest limitation right now is that it replaces the whole file to fix it, I’m going to do some work in elm-analyse to allow just the new text for the error range.
In the server version it formats the file after elm-analyse finishes, do you think we should do the same here?