Deno support for LSP and fixer#3533
Merged
hsanson merged 4 commits intodense-analysis:masterdense-analysis/ale:masterfrom Jan 23, 2021
Merged
Deno support for LSP and fixer#3533hsanson merged 4 commits intodense-analysis:masterdense-analysis/ale:masterfrom
hsanson merged 4 commits intodense-analysis:masterdense-analysis/ale:masterfrom
Conversation
Contributor
|
ALE migrated from Travis to Github Actions (see #3548) so it is necessary to rebase this PR from latest master branch to trigger the required checks. |
Contributor
Author
|
Thank you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deno is a JavaScript and TypeScript runtime akin to Node, however it does not use Node packages/npm.
As of version 1.6.0, Deno brings its own Language Server implementation, though it is not yet feature-complete (see denoland/deno#8643).
This PR integrates Deno LSP support as well as the built-in fixer (
deno fmt) into ALE (TypeScript only).Currently, no version check is performed to see if LSP is supported (although I mention the required version in the help file).
If that is a requirement, please let me know. Also, a pointer to an example of how version checks are usually performed in ALE would be helpful.