ZIm/crates/workspace/src
Mikayla Maki 8a02159b82
Add a command to expand the context for a multibuffer (#10300)
This PR adds an action to expand the excerpts lines of context in a
multibuffer.

Release Notes:

- Added an `editor::ExpandExcerpts` action (bound to `shift-enter` by
default), which can expand the excerpt the cursor is currently in by 3
lines. You can customize the number of lines by rebinding this action
like so:

```json5
// In your keybindings array...
  {
    "context": "Editor && mode == full",
    "bindings": {
      "shift-enter": ["editor::ExpandExcerpts", { "lines": 5 }],
    }
  }
```

---------

Co-authored-by: Nathan <nathan@zed.dev>
Co-authored-by: Max <max@zed.dev>
2024-04-19 14:27:56 -07:00
..
persistence Add centered layout support (#9754) 2024-04-16 12:12:41 -07:00
dock.rs workspace: Fix panel resize handles leaking through zoomed panels (#9909) 2024-03-28 12:18:51 +01:00
item.rs Use buffer font when rendering editor breadcrumbs and diagnostics (#10488) 2024-04-12 12:29:00 -07:00
modal_layer.rs Occlude only modal and not the space around it used to center it 2024-03-11 18:13:00 +01:00
notifications.rs Refactor workspace notifications to use explicit NotificationId type (#10342) 2024-04-10 17:21:23 -04:00
pane.rs Add "Open in Terminal" context menu entries for project panel, editor and tab context menus (#10741) 2024-04-19 01:43:46 +03:00
pane_group.rs themes: Add pane_group.border color (#9986) 2024-04-01 12:07:26 -04:00
persistence.rs Add a command to expand the context for a multibuffer (#10300) 2024-04-19 14:27:56 -07:00
searchable.rs Make BufferSearch less wide (#10459) 2024-04-11 23:07:29 -06:00
shared_screen.rs Add preview tabs (#9125) 2024-04-11 23:09:12 +02:00
status_bar.rs Rename overflow_hidden_{x,y} to overflow_{x,y}_hidden (#4146) 2024-01-18 22:10:41 -05:00
toolbar.rs Editor toolbar configuration (#7338) 2024-02-03 22:40:54 +02:00
workspace.rs Add "Open in Terminal" context menu entries for project panel, editor and tab context menus (#10741) 2024-04-19 01:43:46 +03:00
workspace_settings.rs Improve drop targets (#10643) 2024-04-18 15:28:25 -04:00