Editor toolbar configuration (#7338)
Adds settings for hiding breadcrumbs and quick action bar from
the editor toolbar. If both elements are hidden, the toolbar disappears
completely.
Example:
```json
"toolbar": {
"breadcrumbs": true,
"quick_actions": false
}
```
- It intentionally doesn't hide breadcrumbs in other views (for
instance, in the search result window) because their usage there differ
from the main editor.
- The editor controls how breadcrumbs are displayed in the toolbar, so
implementation differs a bit for breadcrumbs and quick actions bar.
Release Notes:
- Added support for configuring the editor toolbar ([4756](https://github.com/zed-industries/zed/issues/4756))
This commit is contained in:
@@ -190,6 +190,23 @@ List of `string` values
|
||||
2. Position the dock to the right of the workspace like a side panel: `right`
|
||||
3. Position the dock full screen over the entire workspace: `expanded`
|
||||
|
||||
## Editor Toolbar
|
||||
|
||||
- Description: Whether or not to show various elements in the editor toolbar.
|
||||
- Setting: `toolbar`
|
||||
- Default:
|
||||
|
||||
```json
|
||||
"toolbar": {
|
||||
"breadcrumbs": true,
|
||||
"quick_actions": true
|
||||
},
|
||||
```
|
||||
|
||||
**Options**
|
||||
|
||||
Each option controls displaying of a particular toolbar element. If all elements are hidden, the editor toolbar is not displayed.
|
||||
|
||||
## Enable Language Server
|
||||
|
||||
- Description: Whether or not to use language servers to provide code intelligence.
|
||||
|
||||
Reference in New Issue
Block a user