Antonio Scandurra
0912090a50
Remove stray push_layer from EditorElement::paint
2023-04-21 11:46:13 +02:00
Antonio Scandurra
d2930f462c
Merge branch 'main' into window_context_2
2023-04-21 10:58:08 +02:00
Max Brunsfeld
4b4c98c140
Fix comment formatting errors for rust 1.69
2023-04-20 09:03:42 -07:00
Max Brunsfeld
c19dbe38cd
Store buffer's diagnostic sets in a smallvec
2023-04-20 08:58:41 -07:00
Max Brunsfeld
d57a8d85f9
Introduce a LanguageServerId wrapper type
...
Clarify the meaning of all the usizes in use in all of these
struct fields an method signatures.
2023-04-20 08:58:41 -07:00
Julia
3321d699dc
Finish getting multiple diagnostics sources building and running
2023-04-20 08:58:41 -07:00
Julia
6081351ee7
Incomplete refactor to allow for multiple adapters per language
2023-04-20 08:58:39 -07:00
Antonio Scandurra and Nathan Sobo
1850156c99
Fix editor tests
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-04-20 16:15:14 +02:00
Antonio Scandurra
8421d816a8
Merge branch 'main' into window_context_2
2023-04-20 16:01:47 +02:00
Antonio Scandurra
4d817a1025
Notify LSP when Copilot suggestions are accepted/rejected
2023-04-20 10:15:31 +02:00
Antonio Scandurra
3d716ae700
Reopen file in Copilot language server when language or URI changes
2023-04-20 09:34:20 +02:00
Mikayla Maki
99ec745cfa
Fix underflow potential
2023-04-19 17:42:19 -07:00
Mikayla Maki
b1334525ad
Merge pull request #2386 from zed-industries/copilot-shipping
...
Get copilot ready to ship
2023-04-20 12:38:27 +12:00
Mikayla Maki
ab42de93f8
Removed debounce on suggestion cycling code
2023-04-19 17:34:09 -07:00
Mikayla Maki
b33854561f
Fixed panic in new cycling code
...
Made cycling fire without debounce
2023-04-19 16:50:31 -07:00
Mikayla Maki
a59073bdd6
Remove new CTA in copilot sign in UI
...
Add a trim_end to copilot suggestions
2023-04-19 16:39:55 -07:00
Mikayla Maki and antonio
b665984c2d
WIP: lower our usage of the copilot API by seperating out the cycling completion
...
Restore copilot setting visibility
co-authored-by: antonio <antonio@zed.dev >
2023-04-19 15:23:17 -07:00
Mikayla Maki
bcc60773a8
Only fire completion cycling requests if specifically asked for by the user
2023-04-19 15:21:30 -07:00
Antonio Scandurra and Nathan Sobo
227f955f9d
Clear all suggestions from Editor when disabling Copilot
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-04-19 20:10:57 +02:00
Antonio Scandurra and Nathan Sobo
7d9b486576
Clarify copilot settings
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-04-19 20:07:05 +02:00
Petros Amoiridis and Max Brunsfeld
8a148051d6
Assert the editor and unmarked texts are the same
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2023-04-19 20:52:01 +03:00
Petros Amoiridis and Julia
25c3c42740
Add newline above and improve newline below
...
Add a new action for inserting a new line above the current line. @ForLoveOfCats also helped fix a bug among other things. When two collaborators had their cursors at the end of a line, and one collaborator performed a newline below action, the second collaborator's cursor would be dragged to the new line. This is also fixing that.
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com >
2023-04-19 19:57:23 +03:00
Max Brunsfeld
5bcf6da6ea
Fix 'invalid insertion' panic when following
...
Wait for the necessary buffer operations to arrive before attempting to
set selections and scroll top.
2023-04-18 16:13:18 -07:00
Joseph T. Lyons
0d4fa79ea1
Merge pull request #2377 from zed-industries/add-tab-tooltips
...
Add tab tooltips
2023-04-18 14:37:38 -04:00
Joseph Lyons
c34ce52d31
Remove unnecessary lifetimes from tab_description
2023-04-18 14:15:56 -04:00
Joseph Lyons
64711628de
Remove unnecessary lifetimes from tab_tooltip_text
2023-04-18 14:03:02 -04:00
Antonio Scandurra
0dd0f57af9
Merge branch 'main' into window_context_2
2023-04-18 17:29:37 +02:00
Antonio Scandurra
9254219f16
Fix warnings/errors now that AsyncAppContext::update returns Result
2023-04-18 14:58:57 +02:00
Antonio Scandurra
4bdd04a432
Clean up completion tasks, even if they fail or return no results
...
This fixes a bug where leaving the completion task in `completion_tasks`
could cause the Copilot suggestion to not be shown due to the LSP not
successfully return a completion.
2023-04-18 11:03:17 +02:00
Antonio Scandurra
2ea13568dc
Add failing test to demonstrate Copilot not showing enough suggestions
2023-04-18 10:24:20 +02:00
Antonio Scandurra
41134f0ebb
Make production code compile again
2023-04-17 12:33:33 +02:00
Joseph Lyons
74848c2912
Add tab tooltips
2023-04-15 06:46:14 -04:00
Antonio Scandurra
800f4c334e
Take WindowContext in workspace::ItemHandle methods
2023-04-14 16:36:23 +02:00
Antonio Scandurra
c0a505e4a0
Remove weak handle from EditorElement to Editor
2023-04-14 14:29:03 +02:00
Antonio Scandurra
585b97bd38
Merge branch 'main' into window_context_2
2023-04-14 12:07:09 +02:00
Antonio Scandurra
487c468521
Fix most of the warnings
2023-04-14 10:51:53 +02:00
Antonio Scandurra
1f47ff85de
Move more window-specific methods from AppContext to WindowContext
2023-04-14 10:29:35 +02:00
Joseph T. Lyons
28a1845421
Merge pull request #2374 from zed-industries/add-vim-mode-metric
...
Add vim mode metric
2023-04-13 13:52:31 -04:00
Joseph Lyons
a6703ee11e
Add vim mode metric
2023-04-13 13:46:22 -04:00
Antonio Scandurra
6a979c3e5e
Start removing some warnings
2023-04-13 12:04:37 +02:00
Antonio Scandurra
5681f9a874
Avoid interpolating Copilot suggestion if cursor excerpt differs
2023-04-13 10:44:08 +02:00
Nathan Sobo
d5629c7183
WIP
2023-04-12 12:38:26 -06:00
Nathan Sobo
169d6bf675
WIP
2023-04-12 12:22:26 -06:00
Nathan Sobo
f5a86aecdc
WIP
2023-04-12 12:13:35 -06:00
Antonio Scandurra
5f04261450
WIP
2023-04-12 15:55:43 +02:00
Nathan Sobo
0316747904
WIP
2023-04-12 06:51:03 -06:00
Nathan Sobo
fabf89a1b1
WIP
2023-04-11 18:21:56 -06:00
Max Brunsfeld and Antonio Scandurra
afd7d101ec
Fix unit tests after fixing gpui model drop semantics
...
co-authored-by: Antonio Scandurra <antonio@zed.dev >
2023-04-11 10:58:01 -07:00
Nathan Sobo
596940d986
WIP: Everything shredded
2023-04-10 16:10:32 -06:00
Nathan Sobo
722f47dcd1
WIP
2023-04-08 08:01:05 -06:00