You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,29 @@ SimplicityHL is a high-level language for writing Simplicity smart contracts. Si
8
8
9
9
## Features
10
10
11
-
- Syntax highlighting for .simf and .wit files
12
-
- Basic language configuration (brackets, comments)
11
+
- Syntax highlighting and snippets for `.simf` and `.wit` files
12
+
- Compiler diagnostics, completion, hover, signature help, symbols, references, and go to definition
13
+
- Opt-in imports and enums support in the language server and direct compiler commands
14
+
15
+
The extension installs or connects to the [SimplicityHL language server](https://github.com/BlockstreamResearch/simplicityhl-lsp), which provides language intelligence:
13
16
14
-
Also, you can install the [SimplicityHL language server](https://github.com/distributed-lab/simplicityhl-lsp), which enables several features:
Open Settings and search for `SimplicityHL: Experimental Features`. `Imports` and `Enums` are independent checkboxes and both are disabled by default.
26
+
27
+
Import and module syntax requires `simplicityhl.experimentalFeatures.imports`. Enum syntax requires `simplicityhl.experimentalFeatures.enums`. The extension sends these choices to the LSP and adds the matching `-Z` flags to its direct `simc` commands and tasks.
28
+
29
+
The enum switch requires `simplicityhl-lsp` and `simc` 0.7.0 or newer.
21
30
31
+
The language server owns `Simplex.toml` discovery and imported-file analysis. The extension does not duplicate that resolver. Direct `simc` commands currently add feature flags only; they do not translate Simplex dependencies into `--dep` arguments. Use the project build tooling or invoke `simc` with the required dependency mappings for projects with external imports.
22
32
33
+
For local extension development, `simplicityhl.server.path` can point to a locally built `simplicityhl-lsp` binary.
0 commit comments