Commit Graph

64 Commits

Author SHA1 Message Date
Johannes Rieken
2206e09ec5 fix https://github.com/microsoft/vscode/issues/199662 (#199667) 2023-11-30 15:09:08 +01:00
Johannes Rieken
bf0c6eb8bb fix https://github.com/microsoft/vscode/issues/199444 (#199524) 2023-11-29 12:37:40 +01:00
Johannes Rieken
2d18058fba Use new diffSingle icon for live3 changes view (#199517) 2023-11-29 11:25:31 +01:00
Johannes Rieken
ee6922b849 fix https://github.com/microsoft/vscode-copilot/issues/3112 (#199504) 2023-11-29 10:08:11 +01:00
Johannes Rieken
246d5e792d fix https://github.com/microsoft/vscode/issues/199371 (#199494) 2023-11-29 08:53:17 +01:00
Johannes Rieken
2c13662a9e fix https://github.com/microsoft/vscode-copilot/issues/2775 (#199166) 2023-11-27 15:32:07 +01:00
Johannes Rieken
f54f1b0400 Further tweak light weight diff mode (#199148)
- Let message talk about changes not lines
- Move "Compare" into rhs toolbar as toogle action
2023-11-27 12:21:57 +01:00
Johannes Rieken
5d73488bb3 Use a light weight diff for live inline chat mode (#199027)
* wip

* add yet another live mode which is live and live preview...

* use `renderLines` and view zones for orginal contents, render accept, discard, and compare in line

* remove LiveStrategy2 again

* render insertion diff as progressive changes happen

* implement discard

* implement explicit accept via button and implict accept via typing inside changes

* merge diff changes that are somewhat near

* pass zone, not just widget to strategies

* add `IEditorDecorationsCollection#append`

* move live3 actions into widget, don't render normal accept, discard, allow strategry to trigger accept, discard flows

* cleanup

* make sure re-run works
2023-11-24 15:14:53 +01:00
Aiday Marlen Kyzy
8bb522bf6e adding one more context key in order to record whether the sparkle toolbar icon is enabled 2023-11-17 14:42:26 +01:00
Aiday Marlen Kyzy
edc4698236 Making the editor toolbar sparkle icon appear on focus of the editor and when the inline chat is not visible yet (#198458)
changed the condition for the sparkle to appear
2023-11-17 11:39:09 +01:00
Peng Lyu
d68e8f4016 Merge pull request #197794 from microsoft/rebornix/conservation-dormouse
Report issue contrib for inline widget and sidebar.
2023-11-14 08:38:21 -08:00
rebornix
99b78d90be Tweak name 2023-11-14 08:18:27 -08:00
rebornix
29b0e44ed7 Resolve comments 2023-11-14 08:14:32 -08:00
Aiday Marlen Kyzy
f22f552a8d changing name of the icon 2023-11-14 15:25:23 +01:00
Aiday Marlen Kyzy
c3c3e671f0 registering an icon also 2023-11-14 15:23:52 +01:00
Aiday Marlen Kyzy
63779d3974 setting the menu to the editor title 2023-11-14 15:09:54 +01:00
Aiday Marlen Kyzy
22ab376bfc appending the menu item in order to show the sparkle as a button that executes the start inline chat action 2023-11-14 14:52:48 +01:00
rebornix
6dd6275d2a move off menu 2023-11-13 12:12:22 -08:00
Aiday Marlen Kyzy
5bcff70fe0 Adding hover message on sparkle which spawns inline chat (#196278)
* remove the sparkle on inline chat appearance

* adding the markdown string for hover message

* removing code

* adding code

* localizing the string and setting the variable to readonly because it will never be changed, placing it into the constructor
2023-10-24 21:34:38 +02:00
Harald Kirschner
9b9187dd49 Fix inline chat command title 2023-10-22 21:52:13 -07:00
Johannes
303a246f06 remove Session#lastTextModelChanges because it is often stale. Instead compute on demand 2023-10-18 12:12:31 +02:00
Johannes
98f0259912 chore - move isInteractiveEditorOptions into its type 2023-09-22 11:51:11 +02:00
Joyce Er
e141d3c039 revert: esc should discard if there are no edits (#193697) 2023-09-21 16:38:19 +01:00
Joyce Er
11bfd76a61 feat: show Accept Changes command in palette
This allows for discoverability of the keybinding without requiring that
we render the keybinding in the UI persistently (which would add visual
clutter)
2023-09-20 16:37:35 -07:00
Joyce Er
e8f5d4b242 feat: enable accept via command without edits 2023-09-20 16:37:35 -07:00
Megan Rogge
4f6f33e491 Merge pull request #192337 from microsoft/check
fix context key issues w chat accessibility help
2023-09-06 16:25:02 -04:00
meganrogge
80becd6bc3 rm something 2023-09-06 15:47:16 -04:00
meganrogge
0a49cea839 rm something 2023-09-06 15:46:41 -04:00
meganrogge
932a8381e1 fix context key issues 2023-09-06 15:43:04 -04:00
Henning Dieterichs
82af26f706 Cleans up diff editor. Fixes #185944 2023-09-06 17:20:53 +02:00
meganrogge
2116696377 fix issues 2023-08-09 13:50:17 -07:00
meganrogge
efce510123 fix #188753 2023-08-02 13:23:13 -07:00
meganrogge
33bd9f96ac fix #189318 2023-08-02 09:48:52 -07:00
Aiday Marlen Kyzy
7248433faf Specify also the initial selection option inside of the editorChat.start options (#189137)
* extending the api to also be able to include the selection

* cleaning the code

* cleaning the code

* Set the initial editor selection if it's provided

---------
2023-08-02 03:23:30 -07:00
Johannes
eeb718aee4 fix https://github.com/microsoft/vscode/issues/188317 2023-07-21 14:35:41 +02:00
Henning Dieterichs
1e0a1f5821 Introduces onlyShowAccessibleDiffViewer. Fixes #182789 2023-07-18 20:28:08 +02:00
Aiday Marlen Kyzy
a015a64c25 review change 2023-07-13 16:16:28 +02:00
Aiday Marlen Kyzy
869503b6e4 does not appear to work with when clauses inside of menu 2023-07-13 14:13:37 +02:00
Aiday Marlen Kyzy
0a5437b944 mergging several registered properties into one 2023-07-13 13:11:17 +02:00
Aiday Marlen Kyzy
415aef325f changing the text toggle diff to show diff 2023-07-13 13:04:15 +02:00
Aiday Marlen Kyzy
49e56b6e78 removing the view category from toggle inline diff 2023-07-13 13:00:25 +02:00
Aiday Marlen Kyzy
2a65810af6 cleaning up the code 2023-07-12 16:09:07 +02:00
Aiday Marlen Kyzy
5862acd27a looks like now the toggling works as expected 2023-07-12 15:51:29 +02:00
Aiday Marlen Kyzy
d405515685 instead of using the toggle diff method, we update directly the value in the settings 2023-07-12 15:27:45 +02:00
Aiday Marlen Kyzy
2fce05e8b3 initial code 2023-07-12 15:08:25 +02:00
Aiday Marlen Kyzy
8e1b0952af cleaning the code 2023-07-10 17:25:54 +02:00
Aiday Marlen Kyzy
c61a08d461 adding code in order be able to pass in a position for the inline chat 2023-07-10 17:04:45 +02:00
Johannes Rieken
6637e2bceb Let Escape accept inline chat changes when users made edits on top (#185967)
avoid https://github.com/microsoft/vscode-copilot/issues/288
2023-06-23 11:39:38 +02:00
Johannes
e54405cbf9 render view in chat as primary btn, render view in chat and accept depending on having mixed reply types or not
https://github.com/microsoft/vscode-copilot/issues/299
2023-06-22 15:24:43 +02:00
Johannes
7a3e3670f7 show message replies above button row
https://github.com/microsoft/vscode-copilot/issues/314
2023-06-22 14:55:54 +02:00