Nathan Sobo
f776a460ff
vim: Fix code actions menu ( #2650 )
...
Fixes: zed-industries/community#1690
I'm not sure this is the correct way to fix this...
* A simpler approach would be to just say `!showing_code_actions` in the
binding file (as `showing_completions` can only happen in insert mode -
and `VimControl` will be false). This seemed a little error prone if
more menus were added in the future.
* A more complicated approach would be to copy the way this is done from
the MouseContextMenu, which registers its own keyboard shortcuts, and as
such uses those when it's open. This seems "more correct", but is a
major refactoring for a very small reward.
Release Notes:
- vim: Fix code actions menu
([#1690 ](https://github.com/zed-industries/community/issues/1690 ))
2023-06-27 03:56:08 -06:00
Conrad Irwin
19ac999fc4
vim: Fix code actions menu
...
Fixes : zed-industries/community#1690
2023-06-26 21:46:06 -06:00
Conrad Irwin
72df76d5f0
vim: Add ~ to change case
...
Fixes : zed-industries/community#1410
2023-06-26 20:22:24 -06:00
Conrad Irwin
e6d5841335
vim: shortcuts for tab navigation
2023-06-26 15:07:19 -06:00
Conrad Irwin
04a35ae515
vim: Fix scrolling
...
After #2641 we noticed that scrolling didn't take a count parameter.
The PageDown/PageUp logic was also broken by an additional -1 (for both
vim mode and not).
2023-06-26 13:29:14 -06:00
Conrad Irwin
47563405d7
vim: indent/outdent
...
Fixes : zed-industries/community#832
2023-06-26 10:08:34 -06:00
Antonio Scandurra
503f93aa24
Show quote selection button
2023-06-26 17:24:31 +02:00
Antonio Scandurra and Nathan Sobo
38d0ee4c67
Add assistant icons to the toolbar
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-06-26 16:49:33 +02:00
Antonio Scandurra
860a2911b2
Merge remote-tracking branch 'origin/main' into save-conversations
2023-06-26 15:59:19 +02:00
Max Brunsfeld
7739da3e85
Vim: substitute support ( #2641 )
...
Release Notes:
- vim mode now supports `s` for substitute
2023-06-23 12:58:14 -07:00
Antonio Scandurra
9f14f04f18
Re-enable buffer search in assistant
2023-06-23 09:57:31 +02:00
Antonio Scandurra
6883910a1f
Merge remote-tracking branch 'origin/main' into save-conversations
2023-06-23 09:09:42 +02:00
Conrad Irwin and Nathan Sobo
59e3cb55a8
Add counts to subsitute (and all)
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-06-22 11:50:56 -06:00
Piotr Osiewicz
a350df9b24
Use new icons, delete old ones
2023-06-22 18:58:11 +02:00
Piotr Osiewicz
21c054eefb
Add deafen button
2023-06-22 18:51:26 +02:00
Nate Butler
89188561d0
Update stream control icons
2023-06-22 12:21:59 -04:00
Nate Butler
0bc7848dc3
Add mic and mic-mute icons
2023-06-22 12:00:42 -04:00
Nate Butler
d4ca42a4c1
Add radix icons
...
There are a lot of them, but they add less than 350kb to the app
2023-06-22 11:58:51 -04:00
Piotr Osiewicz
58675824f6
Merge branch 'main' into collab-titlebar-2
2023-06-22 17:41:00 +02:00
Piotr Osiewicz
251dcee2af
Render microphone toggle
2023-06-22 17:40:29 +02:00
Nathan Sobo
58c5d3ef11
vim: binding fixes ( #2637 )
...
Release Notes:
- In vim mode you can now use count modifiers with arrow keys (`5<down>`
will go down 5 lines).
- In vim mode `ctrl+]` and `ctrl+o` now work to go to definition and
back
2023-06-22 06:44:12 -06:00
Nathan Sobo
cb72b81c35
Move model and remaining tokens to assistant toolbar
2023-06-21 19:01:30 -06:00
Conrad Irwin
6e93f7407e
vim: Support s on selections and with multiple cursors
2023-06-21 15:44:19 -06:00
Conrad Irwin
0d7c2a88ce
vim: Add basic 's' support
2023-06-21 15:06:34 -06:00
Conrad Irwin
ef79513fc6
vim: ctrl+] and ctrl+o to jump to definition and back
...
Equivalent to f12 and ctrl-- in non-vim mode.
2023-06-21 14:34:35 -06:00
Conrad Irwin
2d9366839f
vim: Allow up/down/left/right in vim mode
...
The user impact of this is to 5<down> to move 5 lines at a time.
2023-06-21 14:20:39 -06:00
Nathan Sobo and Conrad Irwin
0ea52d851d
Add shift-J binding to Vim normal mode
...
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com >
2023-06-21 11:58:31 -06:00
Nathan Sobo and Conrad Irwin
4bea8aa424
Don't use test-only method; add ctrl-j binding
...
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com >
2023-06-21 11:53:11 -06:00
Antonio Scandurra
12da134a1d
Finish renaming AssistantEditor to ConversationEditor
2023-06-21 09:00:26 +02:00
Nathan Sobo
4df4846b73
WIP: Trying to display the toolbar but tired. May be worth discarding this.
2023-06-20 20:11:37 -06:00
Nathan Sobo and Julia Risley
b310fcc367
Remove the nested Pane from the assistant
...
Since we don't want tabs, I think it would be better to render the toolbar
for ourselves directly and handle switching between conversations.
Co-Authored-By: Julia Risley <julia@zed.dev >
2023-06-20 18:52:48 -06:00
Antonio Scandurra
003cd5a165
Merge remote-tracking branch 'origin/main' into save-conversations
2023-06-20 18:16:40 +02:00
Joseph T. Lyons
c3bb7d64f7
Add pane activation bindings for Atom keymap
2023-06-18 02:05:25 -04:00
Nathan Sobo
1584d656ff
Save conversations to ~/.config/zed/conversations
...
Still need to implement loading / listing.
I'd really be rather write operations to a database. Maybe we
should be auto-saving? Integrating with panes? I just did
the simple thing for now.
2023-06-16 16:15:07 -06:00
Nathan Sobo
f82962f94c
Cycle message roles on ctrl-r
2023-06-16 11:50:18 -06:00
Antonio Scandurra
b709205982
Allow splitting of messages using shift-enter
2023-06-15 14:05:26 +02:00
Piotr Osiewicz
0acffbd92a
editor: Highlight search results
...
Z-1292
2023-06-15 09:44:44 +02:00
Antonio Scandurra
e9a5a6fdea
Use robot icon for assistant to prevent confusion with conversations
2023-06-14 12:14:43 +02:00
Piotr Osiewicz
9b1eed8ff2
editor: Add language setting for comment continuations ( #2605 )
...
Per @JosephTLyons request I've added a language setting for comment
continuations.
Release Notes:
- Added a language setting for comment continuations.
2023-06-13 18:59:46 +02:00
Joseph Lyons
762c823ac4
Fix comments in settings files
2023-06-13 04:03:51 -04:00
Kevin Hovsäter
2bc15cc60f
Fix formatter comment in default settings
2023-06-09 08:08:07 +02:00
Antonio Scandurra
85744fb68b
Merge remote-tracking branch 'origin/main' into assistant-2
2023-06-07 09:34:16 +02:00
Joseph Lyons
cb14838567
Tweak comment wording
2023-06-07 00:23:58 -04:00
Joseph Lyons
c637681c59
Update initial_user_settings.json
2023-06-06 14:39:56 -04:00
Antonio Scandurra
82749a0483
Merge remote-tracking branch 'origin/main' into assistant-2
2023-06-06 19:18:22 +02:00
Antonio Scandurra and Julia Risley
c656427838
Set assistant editor's title based on the first question/answer pair
...
Co-Authored-By: Julia Risley <julia@zed.dev >
2023-06-06 15:59:10 +02:00
Max Brunsfeld
e41e8ad0ba
Populate created local settings file with an empty JSON object and comments
2023-06-05 18:20:02 -07:00
Joseph Lyons
4b5a7ec94a
Fix typos
2023-06-02 22:02:19 -04:00
Piotr Osiewicz
2ff93b2bc5
editor: add select previous command ( #2556 )
...
Added a `select previous` command to complement `select next`.
Release Notes:
- Added "Select previous" editor command, mirroring `Select next`.
Ticket number: Z-366
2023-06-02 17:32:34 +02:00
Antonio Scandurra
6da72891cd
Save OpenAI API key in the keychain
2023-06-02 12:15:25 +02:00