03402adaeb
Show worktree root name for symbol when there are multiple worktrees
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-02-22 18:57:41 +01:00
23aa8da7a9
Sign symbols so that we can trust opening buffers for them from guests
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-02-22 18:43:16 +01:00
Antonio Scandurra and Nathan Sobo
447cc969f1
Don't serialize the full LSP symbol when collaborating
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-02-22 18:08:43 +01:00
Antonio Scandurra and Nathan Sobo
19103bad64
Render paths in ProjectSymbolsView
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-02-22 17:48:14 +01:00
Antonio Scandurra
f8762ff1ce
Allow opening of buffers associated with a project symbol
2022-02-22 16:26:01 +01:00
Antonio Scandurra
416898db0e
Retrieve project symbols over RPC
2022-02-22 14:50:06 +01:00
Antonio Scandurra
3948b5da7f
WIP: Start on getting project symbols over RPC
2022-02-22 12:15:38 +01:00
Antonio Scandurra
f8a219cca6
Syntax-highlight symbols based on their kind
2022-02-22 12:00:16 +01:00
Antonio Scandurra
b14fd8b827
Update symbol matches as the query changes
2022-02-22 10:54:25 +01:00
Antonio Scandurra
0fc1d67784
Rename CompletionLabel to CodeLabel and add Project::symbols
...
This only works locally for now and we haven't implemented the
`RustLsp::label_for_symbol` method yet.
2022-02-22 10:01:08 +01:00
Antonio Scandurra
938214a99b
Start on a new project_symbols crate
2022-02-22 08:42:12 +01:00
Nathan Sobo
40d8a92597
Merge pull request #475 from zed-industries/filter-input
...
Don't insert input in editor when control keys are pressed
2022-02-21 18:32:53 -08:00
Nathan Sobo
3ddad9b085
Don't insert input in editor when control keys are pressed
2022-02-21 18:21:27 -07:00
Nathan Sobo
1f255b3e84
v0.16.0
2022-02-21 18:10:10 -07:00
Nathan Sobo
43036ed7b4
Merge pull request #459 from zed-industries/spurious-macro-errors
...
Download language servers dynamically on startup
2022-02-21 17:08:50 -08:00
Nathan Sobo
6ce19ad1a2
Log an error instead of panicking when there's no LSP download dir
2022-02-21 17:44:00 -07:00
Max Brunsfeld and Nathan Sobo
bdb3c462f4
Assign language server download directory on startup
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-02-21 16:23:38 -08:00
Max Brunsfeld and Nathan Sobo
79a0d152a3
Show more information in lsp status bar item
...
* Distinguish between checking for updates and downloading
* Show dismissable error message when downloading failed and there
is no cached server.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-02-21 16:11:51 -08:00
Max Brunsfeld and Nathan Sobo
c9a4d76f2d
Download language servers on-demand
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-02-21 13:54:52 -08:00
e92573c8d0
Don't offset text vertically with gutter margin
...
Fixes #467
Co-Authored-By: Antonio Scandurra <me@as-cii.com >
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2022-02-21 11:41:46 -07:00
Nathan Sobo
fbbf89fac2
Merge pull request #457 from zed-industries/find-improvements
...
Find improvements
2022-02-21 10:34:49 -08:00
Antonio Scandurra
82163040dd
Revert "Temporarily allow uploading artifacts on all branches"
...
This reverts commit cb6c571548 .
2022-02-21 18:04:29 +01:00
Antonio Scandurra
d30399e056
Remove unused method
2022-02-21 17:31:43 +01:00
Antonio Scandurra and Nathan Sobo
6149e8c4cb
Remove rust-analyzer smoke test
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-02-21 17:28:55 +01:00
Antonio Scandurra and Nathan Sobo
ec875ff474
Show message indicating when we're downloading language servers
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-02-21 17:25:52 +01:00
Antonio Scandurra and Nathan Sobo
d7d78b8917
Use a Shared future to represent started language servers
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-02-21 17:04:47 +01:00
Antonio Scandurra
5967d87885
Download rust-analyzer from GitHub
2022-02-21 16:15:54 +01:00
Antonio Scandurra
6a7a19039c
Introduce LspPostProcessor::download_language_server
2022-02-21 09:46:18 +01:00
Antonio Scandurra
ede6adbe76
Make language server initialization asynchronous
2022-02-21 09:39:28 +01:00
Antonio Scandurra
1980656679
Revert "WIP: avoid code-signing rust-analyzer to prevent proc macro errors"
...
This reverts commit a7160ed278 .
2022-02-21 08:13:05 +01:00
Antonio Scandurra
a7160ed278
WIP: avoid code-signing rust-analyzer to prevent proc macro errors
...
If this works, I think we should set the permissions asynchronously,
maybe as part of starting the language server, so that we avoid doing
synchronous I/O.
2022-02-20 12:14:43 +01:00
Antonio Scandurra
cb6c571548
Temporarily allow uploading artifacts on all branches
2022-02-20 10:57:00 +01:00
Antonio Scandurra
c17dd8386f
Merge pull request #455 from zed-industries/rename
...
Introduce rename support via `F2`
2022-02-19 11:07:39 +01:00
Antonio Scandurra
751ffccf60
Simplify undo_to_transaction and redo_to_transaction
...
We don't need to mutate the history anymore now that we render pending renames
with a block decoration.
2022-02-19 10:52:21 +01:00
Max Brunsfeld
7a269e5348
Ensure we never leak block decorations when renaming
2022-02-18 17:00:57 -08:00
Max Brunsfeld
7820c54d68
Handle GetDefinition via LspCommand trait
2022-02-18 16:45:52 -08:00
Max Brunsfeld
5a7f2f107c
Use async_trait for LspCommand
2022-02-18 16:07:30 -08:00
Max Brunsfeld
d74d3f61a6
Tweak behavior of selections when renaming
2022-02-18 15:44:57 -08:00
Max Brunsfeld and Nathan Sobo
9ad5af89f4
Use a block decoration for entering rename text
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-02-18 13:51:43 -08:00
Antonio Scandurra
f49935670f
WIP
2022-02-18 10:47:22 -08:00
Max Brunsfeld
145d74c4ef
Refactor handling of remote renames
2022-02-18 10:45:06 -08:00
Antonio Scandurra
304b1a771d
Merge pull request #456 from zed-industries/farewell-inconsolata
...
Replace Inconsolata with Zed Mono and Zed Sans
2022-02-18 17:19:56 +01:00
Antonio Scandurra
bf4657bc4c
Allow matching on active editor's stale results if find is slow
2022-02-18 17:01:22 +01:00
Antonio Scandurra
f0715cbd99
Select closest match when find query changes
2022-02-18 16:45:59 +01:00
Antonio Scandurra
5398963064
Allow going to next/prev match even if FindBar has been dismissed
2022-02-18 16:33:26 +01:00
Antonio Scandurra
3588de1958
Notify toolbars if active item changes independently of visibility
2022-02-18 16:31:52 +01:00
Antonio Scandurra
0049bb181c
Cancel pending rename when hitting escape
2022-02-18 15:24:24 +01:00
Antonio Scandurra
887c7d23e1
Load only Zed Sans when building test AppState
2022-02-18 15:22:13 +01:00
Antonio Scandurra
099f4fab72
Replace Inconsolata with Zed Mono and Zed Sans
2022-02-18 14:55:11 +01:00
Antonio Scandurra
ec0f30aa28
Fix warning
2022-02-18 12:21:24 +01:00