-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,38 @@ | ||
# Hylo LSP | ||
|
||
Proof of concept LSP server for the [Hylo](https://github.com/hylo-lang/hylo) programming language, including VS Code extension. | ||
|
||
The Hylo [Hylo VSCode extension](https://github.com/koliyo/hylo-vscode-extension) dynamically downloads the LSP binaries for the current machine OS/architecture. | ||
|
||
This is currently very early in development! | ||
|
||
## Features | ||
|
||
The Hylo LSP currently support the following LSP features: | ||
|
||
- Semantic token | ||
- Syntax highlighting | ||
- Document symbols | ||
- Document outline and navigate to local symbol | ||
- Definition | ||
- Jump to definition | ||
- Diagnostics | ||
- Errors and warnings reported by the compiler | ||
|
||
## Developer | ||
|
||
To build and install a local dev version of the LSP + VSCode extension: | ||
|
||
```sh | ||
./build-and-install-vscode-extension.sh | ||
``` | ||
|
||
### Command line tool | ||
|
||
There is also a command line tool for interacting with the LSP backend. The command line tool is useful for debugging and testing new functionality. The LSP server is embedded in the client, which simplify debug launching and breakpoints. | ||
|
||
Example usage: | ||
|
||
```sh | ||
swift run hylo-lsp-client semantic-token hylo/Examples/factorial.hylo | ||
``` |
Submodule hylo-vscode-extension
updated
8 files
+0 −1 | .yarnrc | |
+6 −4 | CHANGELOG.md | |
+9 −39 | README.md | |
+2 −2 | package-lock.json | |
+5 −57 | package.json | |
+0 −6 | src/extension.ts | |
+0 −42 | vsc-extension-quickstart.md | |
+0 −1,602 | yarn-error.log |