ZIm/docs/src
Richard Taylor 5181d3f719
Workspace configuration for elixir-ls LSP (#9330)
This allows the workspace configuration settings to be passed to the
elixir-ls LSP via lsp settings.

This following example settings disable dialyzer in the LSP:

```
"lsp": {
  "elixir-ls": {
    "settings": {
      "dialyzerEnabled": false
    }
  }
}
```

It follows the same pattern used in
[#8568](https://github.com/zed-industries/zed/pull/8568) and resolves
[#4260](https://github.com/zed-industries/zed/issues/4260).

Zed's language server logs show the settings are being sent to the
language server:

```
Received client configuration via workspace/configuration
%{"dialyzerEnabled" => false}
Registering for workspace/didChangeConfiguration notifications
Starting build with MIX_ENV: test MIX_TARGET: host
client/registerCapability succeeded
Registering for workspace/didChangeWatchedFiles notifications
client/registerCapability succeeded
Received workspace/didChangeConfiguration
Received client configuration via workspace/didChangeConfiguration
%{"dialyzerEnabled" => false}
```

Release Notes:

- Added workspace configuration settings support for elixir-ls language
server. Those can now be configured by setting `{"lsp": {"elixir-ls": {
"settings: { "your-settings-here": "here"} } }` in Zed settings.
[#4260](https://github.com/zed-industries/zed/issues/4260).
2024-03-25 09:35:28 +01:00
..
languages Workspace configuration for elixir-ls LSP (#9330) 2024-03-25 09:35:28 +01:00
CODE_OF_CONDUCT.md Adjust heading levels in docs (#7163) 2024-01-31 12:34:31 -05:00
configuring_zed.md Allow to handle autoclosed characters differently (#8666) 2024-03-20 09:35:42 +01:00
configuring_zed__configuring_vim.md vim: smartcase find option (#9033) 2024-03-07 19:44:20 -07:00
configuring_zed__key_bindings.md Add keyboard shortcut to suppress prompt while deleting files/dirs (#9452) 2024-03-18 11:43:43 -07:00
developing_zed__adding_languages.md Adjust heading levels in docs (#7163) 2024-01-31 12:34:31 -05:00
developing_zed__building_zed.md Windows: Add document (#8948) 2024-03-07 15:41:15 -08:00
developing_zed__building_zed_linux.md Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
developing_zed__building_zed_macos.md Update docs for building Zed (#8092) 2024-02-20 17:34:13 -05:00
developing_zed__building_zed_windows.md Update developing_zed__building_zed_windows.md (#9477) 2024-03-18 11:04:09 -07:00
developing_zed__debugging_crashes.md Add ./script/symbolicate (#8165) 2024-02-22 08:50:39 -07:00
developing_zed__local_collaboration.md Make it (a tiny bit) easier to run your own collab (#9557) 2024-03-20 21:00:02 -06:00
feedback.md Adjust heading levels in docs (#7163) 2024-01-31 12:34:31 -05:00
getting_started.md Docs: Made "Configuring Zed" a link (#8790) 2024-03-04 09:54:29 +01:00
SUMMARY.md docs: Use plain quotes for callouts (#9499) 2024-03-18 10:54:05 -04:00
system_requirements.md docs: Use plain quotes for callouts (#9499) 2024-03-18 10:54:05 -04:00
tasks.md docs: Use plain quotes for callouts (#9499) 2024-03-18 10:54:05 -04:00
telemetry.md Adjust heading levels in docs (#7163) 2024-01-31 12:34:31 -05:00