Max Brunsfeld
d791858a07
Adjust pane, tab, panel management bindings to match VS Code
2022-06-29 15:33:46 -07:00
Max Brunsfeld
7aaf72b228
0.42.0
2022-06-28 14:33:19 -07:00
Keith Simmons
15dcc4323a
Merge pull request #1254 from zed-industries/command-palette-filter
...
Command palette filter
2022-06-28 14:31:21 -07:00
Max Brunsfeld
ebb0b332d2
Merge pull request #1235 from zed-industries/diagnostics-in-hidden-worktrees
...
Allow diagnostics to be published for hidden worktrees
2022-06-28 14:29:41 -07:00
Max Brunsfeld
3973098faf
Exclude hidden worktrees from project's diagnostic summaries
2022-06-28 14:23:24 -07:00
Keith Simmons
db77b1e776
add test for filter
2022-06-28 13:45:34 -07:00
Keith Simmons
320cb7d94d
Add command palette filter global and update it when vim mode is enabled/disabled
2022-06-28 13:35:43 -07:00
Max Brunsfeld
de02308dac
Merge pull request #1253 from zed-industries/rust-autoindent-fix
...
Fix rust auto-indent regression
2022-06-28 13:34:56 -07:00
Max Brunsfeld
3f4c0add6a
Allow diagnostics to be published for hidden worktrees
2022-06-28 13:31:04 -07:00
Max Brunsfeld
d9de9f4afa
In most languages, use prev non-empty line as basis for preserving indent
2022-06-28 12:21:54 -07:00
Antonio Scandurra
99ccd62728
v0.41.0
2022-06-28 11:21:06 +02:00
Antonio Scandurra
d158356381
Merge pull request #1247 from zed-industries/ignore-non-created-progress-tokens
...
Ignore tokens that were not created via `WorkDoneProgressCreate`
2022-06-28 10:14:42 +02:00
Antonio Scandurra
a6c1e9b9ff
Merge pull request #1246 from zed-industries/python-autoindent
...
Fix Python auto-indent using new auto-indent features
2022-06-28 10:14:22 +02:00
Antonio Scandurra
7787ac3b6c
Ignore tokens that were not created via WorkDoneProgressCreate
...
With the new version of rust-analyzer, we were seeing stray `WorkDoneProgress::End`
messages that create an imbalance in the `pending_diagnostic_updates` that never
resolves. This was causing the diagnostic status bar item to never update because
we wouldn't emit `DiskBasedDiagnosticsStarted` nor `DiskBasedDiagnosticsFinished`.
This commit fixes the above situation by only acknowledging progress report for tokens
that have explicitly been created via the `WorkDoneProgressCreate` request, as stated
by the protocol.
In addition to that, we are replacing the `pending_diagnostic_updates: isize` with
a `has_pending_diagnostic_updates: bool`. We added it at some point to prevent a similar
issue where we would observe begin/end reports in a seemingly random order, which would cause
us to permanently display a `checking...` message in the status bar. I believe this commit
fixes that as well because the `isize` was just a less general solution for the same
underlying issue. As the protocol states: "the token provided in the create request should
only be used once (e.g. only one begin, many report and one end notification should be sent
to it)."
2022-06-28 10:08:43 +02:00
Antonio Scandurra
4a0df2dcae
Merge pull request #1241 from zed-industries/reopen-closed-item
...
Introduce `pane::ReopenClosedItem` bound to `cmd-shift-t`
2022-06-28 08:09:03 +02:00
Antonio Scandurra
03ce0f633f
💄
2022-06-28 08:04:39 +02:00
Max Brunsfeld
7610a6a72d
Add new indentation features to support Python
2022-06-27 22:34:14 -07:00
Keith Simmons
f3c9cfe4e8
Merge pull request #1244 from zed-industries/address-go-hover-panic
...
Address hover panic add hint for installing go language server
2022-06-27 16:34:02 -07:00
Keith Simmons
38c6b275a8
add hover popover setting
2022-06-27 16:21:22 -07:00
Keith Simmons
72723ce560
Address hover panic and add hint to install go when language server failed to install
2022-06-27 15:48:15 -07:00
Keith Simmons
ffb933f79a
Merge pull request #1237 from zed-industries/jump-to-definition
...
Mouse jump to definition
2022-06-27 15:20:07 -07:00
Max Brunsfeld
51a260a7b3
Upgrade Tree-sitter, Tree-sitter-python
2022-06-27 15:12:31 -07:00
Keith Simmons
98c942fa28
bump protocol version and fix panic from storing display points instead of anchors
2022-06-27 15:10:36 -07:00
Keith Simmons
859579f85f
Fix usage of existing definitions
2022-06-27 10:07:44 -07:00
Antonio Scandurra
677db5fcd1
Add test for reopening closed items
2022-06-27 17:59:25 +02:00
Antonio Scandurra
e8aa673c39
Introduce pane::ReopenClosedItem bound to cmd-shift-t
2022-06-27 17:44:33 +02:00
Antonio Scandurra
28ca9c622e
Merge pull request #1239 from zed-industries/ignore-scan-child-errors
...
Don't stop scanning directory if reading one of the children errors
2022-06-27 08:47:21 +02:00
Antonio Scandurra
faf645bbe8
Don't stop scanning directory if reading one of the children errors
2022-06-27 08:40:37 +02:00
Antonio Scandurra
e401e8a352
Merge pull request #1238 from zed-industries/users-with-no-invites
...
Allow users with no invites to be fetched from the API
2022-06-27 08:18:19 +02:00
Keith Simmons
895c185326
Change mouse cursor when link is visible
2022-06-24 21:55:57 -07:00
Keith Simmons
4839b4aa54
fix rebase merge error
2022-06-24 15:11:57 -07:00
Keith Simmons
a76be2126c
working jump to definition with tests
2022-06-24 15:09:31 -07:00
Keith Simmons
b2c6087d10
Working underline based on symbol origin
2022-06-24 15:05:35 -07:00
Keith Simmons
3586b6459a
wip
2022-06-24 15:03:24 -07:00
Keith Simmons
9efa2c61f7
wip
2022-06-24 15:03:24 -07:00
Nathan Sobo
5de8f54370
Allow users with no invites to be fetched from the API
2022-06-24 09:57:52 -06:00
Antonio Scandurra
e9c59b3cff
WIP
2022-06-24 17:21:58 +02:00
Antonio Scandurra
9deb1feddb
Merge pull request #1236 from zed-industries/reduce-server-memory-footprint
...
Reduce memory footprint on server
2022-06-24 09:34:04 +02:00
Antonio Scandurra
a4fc945cee
Gather metrics only when /metrics endpoint is retrieved
2022-06-24 09:28:52 +02:00
Antonio Scandurra
4359c804ad
Don't trace message payload
2022-06-24 09:27:22 +02:00
Max Brunsfeld
e23961e412
0.40.0
2022-06-23 13:29:32 -07:00
Max Brunsfeld
a6e865af05
Merge pull request #1234 from zed-industries/fix-editor-cloning
...
Clone fold and selection state correctly when splitting an editor
2022-06-23 13:27:40 -07:00
Max Brunsfeld
c80ad593ae
Merge pull request #1229 from zed-industries/non-zero-tabsize
...
Use NonZeroU32 to ensure settings tabsize cannot be zero
2022-06-23 13:27:30 -07:00
Max Brunsfeld
90c556cb47
Clone fold and selection state correctly when splitting an editor
2022-06-23 13:15:50 -07:00
Keith Simmons
5c67560264
Use NonZeroU32 to ensure settings tabsize cannot be zero
2022-06-23 12:55:38 -07:00
Max Brunsfeld
bfc7913315
Merge pull request #1228 from zed-industries/python
...
Add Python support
2022-06-23 11:25:18 -07:00
Max Brunsfeld
4a0487b81d
Treat .pyi files as Python
2022-06-23 11:14:11 -07:00
Max Brunsfeld
b5b88d35e1
Syntax-highlight Python project symbols and completions
2022-06-23 11:14:01 -07:00
Max Brunsfeld
daada15dbc
Upgrade tree-sitter-python for error recovery improvement
2022-06-23 11:13:30 -07:00
Antonio Scandurra and Nathan Sobo
4f4829ba11
Use BTreeMap in Server so we release memory when maps are cleared
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-06-23 18:02:17 +02:00