Commit log

4032e51 v0.38.0

Max Brunsfeld created

799b32c Merge pull request #1167 from zed-industries/block-scroll-width

Click to expand commit body
Introduce a new `BlockStyle` field for blocks

Antonio Scandurra created

f91fb48 Simplify `EditorElement::layout_blocks`

Antonio Scandurra created

666ea61 Introduce a new `BlockStyle` field for blocks

Click to expand commit body
This new field allows blocks to specify how they want to be laid out:

- If `Fixed` they can take up all the width they want and they will impact
the scroll width of the editor. This is useful for diagnostic messages and
allows scrolling the editor further to the right to visualize the entire message.
- If `Flex` they can extend all the way to the scroll width without impacting it
any further. This is useful for the rename editor that we insert as a block
decoration when hitting `F2`.
- If `Sticky`, they will be as wide as the editor element and won't participate
in the horizontal scrolling of the editor. This is useful for headers in general,
where we want e.g. the filename and the jump button to always be visible
independently of how much the user has scrolled to the right.

Antonio Scandurra created

8e440bf Merge pull request #1166 from zed-industries/hover-fixes

Click to expand commit body
Always delay hover display

Keith Simmons created

02f0fee Always delay hover display

Keith Simmons created

699f14f Merge pull request #1144 from zed-industries/hover-fixes

Click to expand commit body
Hover fixes. Addresses delay issues with current hover implementation, shrinks the hover popover, and tweaks the display of markdown data

Keith Simmons created

e21d1b1 Merge fix

Keith Simmons created

3cec157 fix compile error in EditorLspTestContext

Keith Simmons created

8378590 Test fixes

Keith Simmons created

93158bf Fix delayed lsp request

Keith Simmons created

722023e test and build fixes

Keith Simmons created

dddfc7b Add hover test and tweak dismiss logic

Keith Simmons created

1da1853 Hide hover when font changes, and handle case where delay was preventing hover with large symbol range

Keith Simmons created

b51bd87 Rework hover delay, respect editor font size, and enable hover in multibuffers

Keith Simmons created

ee33fb0 wip

Keith Simmons created

87ba68e Merge pull request #1155 from zed-industries/golang

Click to expand commit body
Add Go support

Max Brunsfeld created

924e964 Tweak golang outline query

Max Brunsfeld created

9495717 Add project symbol labels for Go

Max Brunsfeld created

861f4c7 Add syntax highlighting for Go completions

Max Brunsfeld created

4ce4c0e Ignore completions from gopls that we can't yet handle

Click to expand commit body
We only support additionalEdits if they are provided when resolving the
completion, not if they are provided immediately.

Max Brunsfeld created

7bb7187 Add tests and fix bugs for editor indent/outdent commands w/ hard tabs

Max Brunsfeld created

77b9ab0 Add buffer test for autoindent with hard tabs

Max Brunsfeld created

d089867 Merge pull request #1157 from zed-industries/align-editor-menu-to-fit

Click to expand commit body
Snap overlay's bottom/right edge to same window's edge on overflow

Antonio Scandurra created

ea8b501 Snap overlay's bottom/right edge to same window's edge on overflow

Antonio Scandurra created

e0ecf3b Merge pull request #1156 from zed-industries/disable-language-server

Click to expand commit body
Introduce a new language-overrideable `enable_language_server` setting

Antonio Scandurra created

213b316 Remove language server statuses synchronously when stopping a server

Antonio Scandurra created

69170fc Add unit test to ensure changing `enable_language_server` works

Antonio Scandurra created

36a1a7a Start/stop language servers when `enable_language_server` changes

Antonio Scandurra created

55cc863 Introduce a new language-overrideable `enable_language_server` setting

Antonio Scandurra created

9d7476a Extract a `Project::stop_language_server` method when restarting server

Click to expand commit body
This will be useful later to stop a language server when detecting
configuration changes.

Antonio Scandurra created

0408a82 Add `ModelContext::observe_global`

Antonio Scandurra created

4d61565 Merge pull request #1142 from zed-industries/multibuffer-jump-to

Click to expand commit body
Show "Jump to Buffer" icon on every excerpt header

Antonio Scandurra created

f62fd3c Add support for hard tabs

Click to expand commit body
* Add a `hard_tabs` setting that causes indentation to be performed
  using a tab instead of multiple spaces.
* Change Buffer's indentation-related APIs to return an `IndentSize`
  struct with a length and a kind, instead of just a single u32.
* Use hard tabs by default in Go.

Max Brunsfeld created

129fc51 Add parser and queries for go

Click to expand commit body
Co-authored-by: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

36ce3eb Handle messages associated with LSP `WorkDoneProgress::Begin` messages

Click to expand commit body
Co-authored-by: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

a41f164 Launch gopls with the right arguments

Click to expand commit body
Co-authored-by: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

712d47d Render a "Jump to Buffer" icon on all excerpt headers

Antonio Scandurra created

c2eaf61 Move `ProjectDiagnosticsEditor::jump` to `Editor::jump`

Antonio Scandurra created

5fdafbe Expose a unique `key: usize` in `ExcerptBoundary`

Antonio Scandurra created

eda569d Snapshot file instead of path when creating a buffer snapshot

Antonio Scandurra created

15b13fe Introduce an optional `primary` field to `ExcerptRange`

Antonio Scandurra created

ffb75b0 Extract an `ExcerptRange` containing a `context` field in `multi_buffer`

Click to expand commit body
This lays the groundwork for adding an optional `primary` field that can
be supplied to provide the "jump to" feature.

Antonio Scandurra created

d56cc1a Merge pull request #1141 from zed-industries/fix-status-bar-click

Click to expand commit body
Use visible bounds to determine hit bounds for cursor/mouse regions

Antonio Scandurra created

a26af19 Use visible bounds to determine hit bounds for cursor/mouse regions

Antonio Scandurra created

5c84f4b Merge pull request #1140 from zed-industries/fix-range-formatting

Click to expand commit body
Provide `tab_size` when formatting document using LSP range formatting

Antonio Scandurra created

d8b885e Provide `tab_size` when formatting document using LSP range formatting

Antonio Scandurra created

71046bf Merge pull request #1138 from zed-industries/reduce-log-level

Click to expand commit body
Reduce log level on `collab`

Antonio Scandurra created

494a1b3 Reduce log level on `collab`

Click to expand commit body
This is generating way too much data and doesn't seem very cost-effective
to investigate the issues we've had with the stale contacts panel.

Antonio Scandurra created

8f4387a Start work on installing gopls

Max Brunsfeld created