Commit Graph
11144 Commits
Author SHA1 Message Date
Mikayla Maki f59c560dcf Remove test modals 2023-03-30 16:52:55 -07:00
Mikayla Maki ecd250eae9 Finish device code flow for copilot 2023-03-30 16:50:33 -07:00
Mikayla Maki 5dc4eb7a71 Added erorr states and first-pass error handling to the copilot status bar item.
Added correct icons
Added a new 'Toast' action which allows other crates to easily pop toasts with an optional click action
2023-03-30 14:10:57 -07:00
Julia a91341b50a Merge pull request #2332 from zed-industries/per-server-code-action-kinds
Allow each language adapter to provide their own code action kinds array
2023-03-30 15:54:55 -04:00
Julia efde8aeb63 Allow each language adapter to provide their own code action kinds array 2023-03-30 15:41:54 -04:00
Nate Butler 9a91c7846b Add zed plus copilot icon 2023-03-30 14:34:33 -04:00
Nate Butler 1f0377aafd Update icons 2023-03-30 14:32:51 -04:00
Nate Butler 002267d6ca Add new copilot state icons 2023-03-30 14:18:03 -04:00
Mikayla Maki 35aa04ca6b Improve settings writing for more cases 2023-03-30 10:40:53 -07:00
Mikayla Makiandantonio edd948c833 Switch to using zed hosted copilot LSP (again)
co-authored-by: antonio <antionio@zed.dev>
2023-03-30 09:29:49 -07:00
Petros Amoiridis f4e10d48a1 Merge pull request #2323 from zed-industries/petros/z-402-recent-projects-replace-expanded-home
Replace home directory with the tilde substitution
2023-03-30 18:12:39 +03:00
Petros Amoiridis 2fbfd629ba Fix doctests 2023-03-30 17:57:14 +03:00
Petros AmoiridisandAntonio Scandurra a4589f2f07 Remove the Errors section from rust docs
The section does not add anything that we don't already know.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-03-30 14:04:37 +03:00
Petros Amoiridis 13be07d71a Fix error 2023-03-30 14:03:59 +03:00
Petros AmoiridisandAntonio Scandurra 76b327f27c Update crates/recent_projects/src/highlighted_workspace_location.rs
Co-authored-by: Antonio Scandurra <me@as-cii.com>
2023-03-30 11:35:17 +03:00
Antonio Scandurra 039a1db0ad Merge pull request #2331 from zed-industries/tab-map-sync
Speed up tab searching in `TabMap::sync`
2023-03-30 10:20:57 +02:00
Antonio Scandurra cf4cdd1b10 Speed up tab searching in TabMap::sync by looking for \t only
Instead of looking for `\n` as a stopping condition, we cap the range
we pass to `SuggestionSnapshot::chunks` to stop on the next line. This
makes character searching faster, because looking for a single character
uses `memchr`. Also, this avoids an extra conditional in a tight loop such
as the chunk scanning one contained in `TabMap::sync`.
2023-03-30 10:03:13 +02:00
Antonio Scandurra 91da51e1a2 Use + instead of | to break out of tab expansion in TabMap::sync 2023-03-30 09:49:07 +02:00
Mikayla Maki b217e78a9c Remove some strays 2023-03-29 22:22:02 -07:00
Mikayla Maki 4a9b78e48f Fix bug with enable setting, clean up sign in UIs 2023-03-29 21:51:07 -07:00
Mikayla Maki c2f6567042 Add status bar icon reflecting copilot state to Zed status bar 2023-03-29 21:31:33 -07:00
Mikayla Maki 290933a8b7 WIP, not compiling 2023-03-29 17:59:21 -07:00
Max Brunsfeld 6b8b6779f1 Merge pull request #2329 from zed-industries/new-window-on-click-doc
Open a new window when activating Zed from the dock w/ no windows open
2023-03-29 17:33:32 -07:00
Mikayla Maki 8fd0cd638e WIP 2023-03-29 17:25:41 -07:00
Max Brunsfeld ee77280528 Open a new window when activating Zed from the dock w/ no windows open 2023-03-29 17:24:44 -07:00
Nate Butler 9269041a95 Add copilot icons 2023-03-29 20:23:32 -04:00
Mikayla Maki 2f5eecd9a7 Merge branch 'main' into copilot 2023-03-29 16:57:38 -07:00
Mikayla Maki 900232a2cd Add copilot settings
Add copilot pause / resume
Add copilot statusbar item stub
2023-03-29 16:40:52 -07:00
Max Brunsfeld f80d5cd662 Merge pull request #2325 from zed-industries/tab-map-long-lines
Avoid slowdowns with long lines by skipping tab expansion beyond a certain column
2023-03-29 14:48:23 -07:00
Max Brunsfeld 08f8cbd5dc 🎨 2023-03-29 14:43:01 -07:00
Julia bf32408727 Merge pull request #2328 from zed-industries/breadcrumbs-outline-toggle
Open symbol outline when clicking on editor breadcrumbs
2023-03-29 15:51:30 -04:00
Julia a2fd047b18 Open symbol outline when clicking on editor breadcrumbs 2023-03-29 15:46:43 -04:00
Mikayla Makiandantonio 566b2830e8 Make modal behavior stateless
Co-authored-by: antonio <antonio@zed.dev>
2023-03-29 12:45:53 -07:00
Antonio Scandurra b4b257c131 Make edits smaller when tab expansion changes on a line 2023-03-29 21:40:37 +02:00
Joseph Lyons dba5f1f701 v0.81.x dev 2023-03-29 14:13:01 -04:00
Antonio Scandurra 055efa1a6f Expand edit to end of the line when old/new row exceeds max expansion 2023-03-29 16:49:21 +02:00
Petros Amoiridis 452f95144b Remove convert_to_shortened_path from gpui platform 2023-03-29 17:41:01 +03:00
Petros Amoiridis 57426e2787 Use util::paths::compact 2023-03-29 17:40:39 +03:00
Petros Amoiridis 543888f703 Introduce compact function in util create 2023-03-29 17:32:27 +03:00
Petros Amoiridis 73330994ee Enable doctests in util crate 2023-03-29 17:31:55 +03:00
Petros AmoiridisandJoseph T. Lyons 62a96c7934 Move code into the platform
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com>
2023-03-29 16:25:13 +03:00
Petros Amoiridis 9cfb0bd595 Replace home directory with the tilde substitution 2023-03-29 16:25:10 +03:00
Antonio Scandurra aca38cb8d3 Rename skip_leading_tab to inside_leading_tab 2023-03-29 14:53:28 +02:00
Antonio Scandurra 8df4fb7b81 Increment input_column correctly when inside the leading tab 2023-03-29 14:52:50 +02:00
Antonio Scandurra 2e907472b1 Merge pull request #2327 from zed-industries/remove-unused-code
Delete unused code
2023-03-29 09:09:47 +02:00
Antonio Scandurra 51771722fd Delete unused code 2023-03-29 09:04:13 +02:00
Mikayla Maki f0e79db961 WIP Add copilot disabled setting 2023-03-28 20:52:50 -07:00
Mikayla Maki 74318eecb3 Move command palette filter into collections crate
Filter out copilot commands from command palette when not active
2023-03-28 20:13:17 -07:00
Mikayla Maki 0c89fb135a Apply cargo fmt 2023-03-28 18:45:37 -07:00
Antonio Scandurra 837cea2a63 Remove copilot smoke test 2023-03-28 18:41:35 -07:00