Antonio Scandurra
|
16e476a4a8
|
Re-render breadcrumbs when buffer has been reparsed
|
2022-04-02 16:33:24 +02:00 |
|
Antonio Scandurra
|
f252da61a6
|
Show full path for file worktrees or when there is more than 1 worktree
|
2022-04-02 16:10:10 +02:00 |
|
Max Brunsfeld
|
a8a42e4b1f
|
Merge branch 'main' into prompt-on-close
|
2022-04-01 15:29:23 -07:00 |
|
Max Brunsfeld
|
c190735d28
|
Merge pull request #702 from zed-industries/typescript
Add support for JS/Typescript/TSX, allow language servers to support multiple languages
|
2022-04-01 15:24:58 -07:00 |
|
Max Brunsfeld
|
5add351d21
|
Handle LSP apply workspace edit request fully before responding
|
2022-04-01 11:59:21 -07:00 |
|
Antonio Scandurra
|
cc11f45a1a
|
Introduce workspace::Item::reload to manually trigger a reload
|
2022-04-01 14:02:49 +02:00 |
|
Antonio Scandurra
|
91c003ee59
|
Merge pull request #705 from zed-industries/breadcrumbs
Introduce breadcrumbs
|
2022-04-01 11:02:54 +02:00 |
|
Max Brunsfeld
|
df45c44872
|
Let fake and real LanguageServer access AsyncAppContext in handler callbacks
Also, reimplement FakeLanguageServer by wrapping LanguageServer, instead of
duplicating its functionality differently.
|
2022-03-31 21:57:00 -07:00 |
|
Max Brunsfeld
|
199d4d07f5
|
Merge branch 'main' into typescript
|
2022-03-30 14:44:07 -07:00 |
|
Max Brunsfeld
|
fa6e6fd8fe
|
Restructure fake language server setup
Replace FakeLanguageServerConfig with FakeLanguageServerAdapter
|
2022-03-29 17:55:57 -07:00 |
|
Keith Simmons
|
7cedb28a82
|
Properly dedup restarts of language servers
|
2022-03-29 17:46:39 -07:00 |
|
Keith Simmons
|
598d2433bf
|
Add restart-lsp keybinding
|
2022-03-29 17:24:23 -07:00 |
|
Antonio Scandurra
|
f75734351c
|
Introduce MultiBuffer::symbols_containing
|
2022-03-29 15:08:37 +02:00 |
|
Max Brunsfeld
|
c6b04f7797
|
Make language's language server config non-optional
|
2022-03-28 18:14:49 -07:00 |
|
Antonio Scandurra
|
87cb21b390
|
Avoid unnecessary clones when undoing/redoing selections
|
2022-03-28 17:47:14 +02:00 |
|
Antonio Scandurra
|
b905efe0c3
|
Merge branch 'main' into selection-history
|
2022-03-28 17:24:46 +02:00 |
|
 Antonio ScandurraandNathan Sobo
|
87528c7a2e
|
Test selection history
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2022-03-28 17:20:52 +02:00 |
|
 Antonio ScandurraandNathan Sobo
|
c329a0f620
|
Always use square brackets in marked_text_ranges
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2022-03-28 17:11:35 +02:00 |
|
Antonio Scandurra
|
26a3076f5a
|
Merge pull request #690 from zed-industries/indent-keybindings
Bind `Outdent` and `Indent` respectively to `cmd-[` and `cmd-]`
|
2022-03-28 16:50:23 +02:00 |
|
Antonio Scandurra
|
cdcdc6665f
|
Cap selection history to 1024 entries
|
2022-03-28 16:37:48 +02:00 |
|
 Antonio ScandurraandNathan Sobo
|
616034a4a1
|
Insert tabs instead of indenting only when all selections are empty
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2022-03-28 16:36:12 +02:00 |
|
Antonio Scandurra
|
f3871654a0
|
Implement cmd-u and cmd-shift-u to undo and redo selections
|
2022-03-28 16:05:44 +02:00 |
|
Antonio Scandurra
|
04524d0cb8
|
Extract SelectionHistory in preparation to store an undo/redo stack
|
2022-03-28 14:52:54 +02:00 |
|
Antonio Scandurra
|
5008138919
|
Autoscroll to newest cursor on cmd-d instead of fitting all selections
|
2022-03-28 14:38:51 +02:00 |
|
Antonio Scandurra
|
dc87310b05
|
Bind Outdent and Indent respectively to cmd-[ and cmd-]
|
2022-03-28 11:34:46 +02:00 |
|
Antonio Scandurra
|
f87b66efc7
|
Make indent and outdent explicit actions and unify tabbing logic
|
2022-03-28 11:34:38 +02:00 |
|
Antonio Scandurra
|
c3a7e13408
|
Skip formatting during save if it takes too long
|
2022-03-28 11:02:20 +02:00 |
|
Antonio Scandurra
|
fb4f218382
|
Allow returning futures in fake language server request handlers
|
2022-03-28 10:44:32 +02:00 |
|
Nathan Sobo
|
331c615c31
|
Merge pull request #684 from zed-industries/subword
Add bindings for subword movement and deletion
|
2022-03-26 07:18:29 -06:00 |
|
Nathan Sobo
|
b0e20a4715
|
Merge pull request #682 from zed-industries/vim-hjkl
Vim hjkl
|
2022-03-26 07:11:46 -06:00 |
|
Nathan Sobo
|
e94325777a
|
Add bindings for subword movement and deletion
|
2022-03-26 07:10:16 -06:00 |
|
Keith Simmons
|
19c4e3cbff
|
Fixed issue with enabling and disabling vim mode dynamically
Also added indoc and marked text utility to vim tests to improve readability
|
2022-03-25 20:10:52 -07:00 |
|
 Keith SimmonsandNathan Sobo
|
4e569432a2
|
Add clip_to_line_end to display_map/snapshot and set it to ensure vim positioning in normal mode
Co-authored-by: Nathan Sobo <nathan@zed.dev>
|
2022-03-25 20:10:52 -07:00 |
|
 Keith SimmonsandNathan Sobo
|
4a4982d518
|
Add initial vim mode mode switching
Co-authored-by: Nathan Sobo <nathan@zed.dev>
|
2022-03-25 20:10:37 -07:00 |
|
Nathan Sobo
|
28251eba43
|
Merge branch 'main' into unfold-on-select-match
|
2022-03-24 14:13:27 -06:00 |
|
Nathan Sobo
|
77a4829660
|
Merge pull request #672 from zed-industries/fix-unfollowing-on-edit
Automatically unfollow leader only for edits that originate from the follower editor
|
2022-03-24 13:26:28 -06:00 |
|
 Keith SimmonsandNathan Sobo
|
1eacdcf00a
|
Remove result from anchor cmp functions
Co-authored-by: Nathan Sobo <nathan@zed.dev>
|
2022-03-24 11:48:31 -07:00 |
|
 
|
e0d394eaf6
|
Change language::anchor::min() to a constant
Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Nathan Sobo <nathan@zed.dev>
|
2022-03-24 10:41:33 -07:00 |
|
 
|
dcb6b335e7
|
Make rename highlights work across multibuffer excerpts
Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Nathan Sobo <nathan@zed.dev>
|
2022-03-24 10:22:47 -07:00 |
|
Antonio Scandurra
|
d980cab5d9
|
Test the new inclusive parameter when unfolding
|
2022-03-24 17:20:28 +01:00 |
|
Antonio Scandurra
|
47416066c4
|
Unfold range when selecting the next match
Selected matches are unfolded when in project search, buffer search and
when hitting `cmd-d` to select the next match.
|
2022-03-24 17:16:21 +01:00 |
|
Antonio Scandurra
|
cd4e282144
|
Rename Editor::unfold to Editor::unfold_lines
|
2022-03-24 17:15:40 +01:00 |
|
Antonio Scandurra
|
3f8b9684ce
|
Allow customizing whether FoldMap::unfold treats ranges as inclusive
|
2022-03-24 17:14:41 +01:00 |
|
Antonio Scandurra
|
e1945e2abf
|
Add a unit test for editor edit events
|
2022-03-24 09:17:56 +01:00 |
|
Antonio Scandurra
|
529fdc2764
|
Emit an Edited event when ending, undoing or redoing a transaction
|
2022-03-24 08:56:37 +01:00 |
|
Antonio Scandurra
|
a0ca4a13f8
|
Rename editor::Event::Edited to editor::Event::BufferEdited
This is to distinguish it from a new event we're about to add which
represent edits originating from that specific editor.
|
2022-03-24 08:55:46 +01:00 |
|
Antonio Scandurra
|
a7e3a51ac6
|
Use Editor::transact everywhere
This is in preparation of emitting an edit event every time a transaction ends
or it is undone/redone.
|
2022-03-24 08:48:06 +01:00 |
|
 Max BrunsfeldandKeith Simmons
|
f64c214207
|
Fix incorrect highlighting when an empty range is highlighted via the DisplayMap
Co-Authored-By: Keith Simmons <keith@zed.dev>
|
2022-03-23 18:20:55 -07:00 |
|
Max Brunsfeld
|
c23723cce2
|
Merge pull request #668 from zed-industries/no-lsp-when-following
Avoid making LSP requests when moving cursor due to following
|
2022-03-23 11:54:45 -07:00 |
|
Max Brunsfeld
|
1c58e616b9
|
Merge pull request #667 from zed-industries/fix-duplicate-nav-entries
Fix duplicate nav entries
|
2022-03-23 11:49:00 -07:00 |
|