# Implement workspace_configuration for Dart LSP \(\#8568\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d6492d091db954959e7e3eb22c37b3cf1820b032)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d6492d091db954959e7e3eb22c37b3cf1820b032

Requested commit: d6492d091db954959e7e3eb22c37b3cf1820b032

Commit: d6492d091db954959e7e3eb22c37b3cf1820b032

Tree: 9fccf80e0b1e883eb6bf741f568cc9add2fe154e

Author: Flo

Committer: GitHub

## Message

````
Implement workspace_configuration for Dart LSP (#8568)

This PR addressed https://github.com/zed-industries/zed/issues/8558 and
allows the [Dart Client Workspace
Configuration](https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/tool/lsp_spec/README.md#client-workspace-configuration).

Differing from the issue, the settings are used from the LSP settings
section, example:

```
{
 "lsp": {
    "dart": {
      "settings": {
        "lineLength": 200
      }
    }
  }
}
```

Note: this only works for the global settings (not folder specific)


Release Notes:

- Fixed missing client workspace configuration of Dart LSP. Those can
now be configured by setting `{"lsp": {"dart": { "settings: {
"your-settings-here": "here"} } }` in the Zed settings.
([#8858](https://github.com/zed-industries/zed/issues/8558)).
````

## Parents

- [34de33ef72b206d163ad122b2f0d0b551ac20244](https://git.cafe/gitcafe/zed/commit/34de33ef72b206d163ad122b2f0d0b551ac20244?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d6492d091db954959e7e3eb22c37b3cf1820b032?format=markdown)
