diff --git a/CHANGELOG.md b/CHANGELOG.md index 57a5ee3..8fb5f40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [0.9.5] - 2024-07-05 + +### Add + +- Add configuration option `crystal-lang.server-env` for adding environment variables to be passed to the LSP + ## [0.9.4] - 2024-05-16 ### Add diff --git a/README.md b/README.md index 9f24e58..847e03f 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ For debugging support, it's recommended to follow the guide [here](https://dev.t - `main` - set a main executable to use for the current project (`${workspaceRoot}/src/main.cr`) - `problems` - runs the compiler on save and reports any issues (reload required) - `server` - absolute path to an LSP executable to use instead of the custom features provided by this extension, like [Crystalline](https://github.com/elbywan/crystalline) (reload required) +- `server-env` - object defining env variables to pass to the LSP (reload required) - `shards` - set a custom absolute path for the shards executable - `spec-explorer` - enable the built-in testing UI for specs, recommended for Crystal >= 1.11 due to `--dry-run` flag (reload required) - `spec-tags` - specific tags to pass to the spec runner diff --git a/package-lock.json b/package-lock.json index ca22b5a..44b34de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "crystal-lang", - "version": "0.9.4", + "version": "0.9.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "crystal-lang", - "version": "0.9.4", + "version": "0.9.5", "license": "MIT", "dependencies": { "async-mutex": "^0.4.0", diff --git a/package.json b/package.json index f149c6c..d69ee9c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "crystal-lang", "displayName": "Crystal Language", "description": "The Crystal Programming Language", - "version": "0.9.4", + "version": "0.9.5", "publisher": "crystal-lang-tools", "icon": "images/icon.gif", "license": "MIT", @@ -168,6 +168,11 @@ "default": "", "description": "[Experimental][Reload required]\nAbsolute path for Scry/Crystalline LSP server binary\n(Language Server Protocol for Crystal)." }, + "crystal-lang.server-env": { + "type": "object", + "default": {}, + "description": "[Experimental][Reload required]\nEnvironment object to pass to the LSP" + }, "crystal-lang.main": { "type": "string", "default": null,