From 71b00ab256b3dcd81b87dc21bdc641f42891c6be Mon Sep 17 00:00:00 2001 From: Nils Hjelte Date: Fri, 27 Oct 2023 10:15:53 +0200 Subject: [PATCH] Update readme --- README.md | 35 +++++++++++++++++++++++++++++++++++ hylo-vscode-extension | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1017f10..9135ff0 100644 --- a/README.md +++ b/README.md @@ -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 +``` diff --git a/hylo-vscode-extension b/hylo-vscode-extension index 3542951..056e707 160000 --- a/hylo-vscode-extension +++ b/hylo-vscode-extension @@ -1 +1 @@ -Subproject commit 35429510205a2c6b081910a493e8dabba6ba8fda +Subproject commit 056e70715b02544bef17ce6618b7b9ea5f1d9777