Commit Graph

573 Commits

Author SHA1 Message Date
Johannes Rieken
d02cb53f06 add InteractiveEditorResponseFeedbackKind as dedicated enum (#178043) 2023-03-22 19:28:29 +01:00
Johannes Rieken
2f1f07ec2b make feedback explicit and stateful (#178007) 2023-03-22 14:30:07 +01:00
Rob Lourens
04591025f9 Add info about copied text to interactive session event (#177849)
for extension telemetry
2023-03-21 11:04:47 -07:00
Rob Lourens
b61e1418c3 Add custom interactive session input placeholder to API (#177711) 2023-03-20 21:23:02 +00:00
Peng Lyu
c048e13440 Adopt async emitter for notebookOnWillSave (#177686) 2023-03-20 10:31:14 -07:00
Rob Lourens
9cc67673c3 Avoid rendering loop when the interactive session provider returns invalid followups (#177523) 2023-03-17 13:42:27 -07:00
Rob Lourens
7f040c2c37 Add telemetry for manual copying from interactive session codeblocks (#177513) 2023-03-17 13:23:28 -07:00
Peng Lyu
1a2324213c 📓 OnWillSaveNotebookDocument (#177421)
* 📓 OnWillSaveNotebookDocument

* Proposed api check
2023-03-17 09:00:59 -07:00
Johannes Rieken
0eab2f1931 joh/radical woodpecker (#177457)
* starting a session can already define the whole range

* support refer commands

* remove history, undo into status entry
2023-03-17 13:25:09 +01:00
Alex Ross
62e74ad047 File level comments API proposal (#177342) 2023-03-17 10:18:01 +01:00
Johannes
ac22dad6fa cleanup, support commands, render richer message 2023-03-16 12:36:29 +01:00
Matt Bierner
3e5253b143 Remove notebook controller kind API proposal (#175962)
Fixes #168535
2023-03-16 08:52:09 +11:00
Johannes Rieken
8494afe18a optionally allow responses to set the wholeRange (#177246) 2023-03-15 16:22:25 +01:00
Johannes Rieken
096f5a9e27 support slash commands (#177217) 2023-03-15 14:34:01 +01:00
Rob Lourens
215351a4cf Add sendInteractiveRequestToProvider API (#177155) 2023-03-14 21:09:25 -07:00
Rob Lourens
16abda8880 Add user action notification for command buttons as well 2023-03-14 15:46:12 -07:00
Rob Lourens
3369068f2c Pass followup objects as part of the request into interactive session providers 2023-03-14 14:46:16 -07:00
Tyler James Leonhardt
4129a034ed Initial getSessions API (#177036)
* Initial getSessions API

ref https://github.com/microsoft/vscode/issues/152399

* include provider id in key
2023-03-14 10:20:13 -07:00
Rob Lourens
7dc8b47fc9 Implement new welcome message API for interactive sessions (#177040)
* Implement new welcome message API for interactive sessions

* Use sparkle codicon

* Fix test
2023-03-14 12:00:21 +01:00
Johannes Rieken
d7088ff8a3 joh/western narwhal (#176964)
* support for workspace edits, and more

* wip - support message only response in interactive editor
2023-03-13 15:53:46 +01:00
Rob Lourens
83fe8e03fb More style fixes and revert the interactive session version bump (#176907)
* More style fixes and revert the interactive session version bump

* Fix error icon color
2023-03-13 08:35:44 +01:00
Rob Lourens
7831f6a1b2 Change interactive session followups to be returned from a provider method (#176879)
* Change interactive session followups to be returned from a provider method
And move them to be rendered above the input editor

* Render followups as like text links

* Update followup styling

* sizing fix
2023-03-12 10:54:59 -07:00
Rob Lourens
cd1d31179d Add event fired when the user performs actions on interactive session responses (#176829)
* Add an id to responses that comes from the provider

* Add event fired when the user performs actions on interactive session responses

* Only show user action buttons when the provider has added a response ID
2023-03-10 21:48:37 -08:00
Rob Lourens
fb5ca697fb Remove old provideResponse API from interactive session (#176824) 2023-03-11 00:35:05 +01:00
Rob Lourens
2e34c9a884 Implement slash commands on interactive session providers (#176578)
* Implement slash commands on interactive session providers

* Remove slashCommands from viewmodel
2023-03-09 09:12:37 +01:00
Rob Lourens
7114851c4a Add errorDetails to interactive session responses. (#176457)
* Add errorDetails to interactive session responses.
Also avoid calling updateElementHeight during a renderElement

* Fix hygiene
2023-03-08 04:30:46 +01:00
Connor Peet
ce69ee80cf testing: finalize continuous run api (#176454)
Closes #134941
2023-03-07 16:11:37 -08:00
Rob Lourens
3d6e57bea8 Implement "followup commands" for interactive session API (#176436)
* Implement "followup commands" for interactive session API

* Support icons

* Only support icons for command followups

* Remove todo
2023-03-08 00:23:30 +01:00
Rob Lourens
94138129c6 Fix issue when debugging copilot extension (#176435)
* Fix issue when debugging copilot extension

* format
2023-03-07 15:01:35 -08:00
Joyce Er
e70ab0f56a Add issue reference for contribShareMenu proposal (#176318)
Add issue reference
2023-03-06 16:05:35 -08:00
Rob Lourens
133fa19312 Add username and avatar icons to interactive session API (#176313) 2023-03-07 00:27:18 +01:00
Joyce Er
d4cb26bedb Separate API proposal for editor/lineNumber/context 2023-03-02 18:49:30 +00:00
Johannes
ef3336cd65 interactive editor and API sketch 2023-03-02 09:27:13 +01:00
Rob Lourens
825e84e144 Implement interactive session provider api (#175810)
Implement interactive session provider
2023-03-01 23:47:18 +01:00
Logan Ramos
b19d36feaa Fix API typo (#175653) 2023-02-28 15:52:30 +01:00
Matt Bierner
477b8a2af6 Store DataTransfer mime entries in lowercase (#175582)
https://html.spec.whatwg.org/multipage/dnd.html#dom-datatransfer-setdata-dev

Fixes #175579
2023-02-27 14:29:01 -08:00
Connor Peet
77edc94a35 testing: add api note about new lines (#175557)
See #174771
2023-02-27 19:07:43 +01:00
Aiday Marlen Kyzy
d63ed75ce2 removed the sorting options that were added 2023-02-23 16:27:57 +01:00
Aiday Marlen Kyzy
eee87af252 Adding the server and client code to the JSON language features extensions to enable JSONC sorting in VS Code (#174352)
* temporarily changing the funcion onFromat to be able to trigger the sorting on real examples

* adding the DocumentSortingRequest

* accesssing directly the text edits from the request

* added code in order to provide the link between the json sorting capabiliites and vscode

* adapting to the new api output of the sort function

* instead of using await use then inside of the command that registers

* textEditor replaces window.activeTextEditor

* adding changes from review

* update service

* use SortOptions

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-02-17 19:49:05 +01:00
Alex Ross
6da385b3a3 Multi quick diff polish (#174584)
Part of https://github.com/microsoft/vscode/issues/169012
2023-02-16 16:15:10 +01:00
Tyler James Leonhardt
f861acbee1 Enable a tooltip in quick pick (#174417)
* hover in quickpick

* refactoring

* fix tests

* remove HTMLElement from API for now

* API proposal
2023-02-15 17:35:09 +01:00
Alex Ross
89c4f61de2 Alexr00/showLocalAPI (#173798)
* Propose "allowLocal" open dialog option API
Part of #131138

* Update comment

* allowUIResources API proposal
Part of #131138

* Fix scheme ordering and update doc comment
2023-02-09 09:53:24 +01:00
Matt Bierner
853b32bad2 Add more documentation to code action provider (#173886) 2023-02-08 20:39:03 -08:00
Megan Rogge
399e24a943 get quick fix match to use wrapped lines for length (#172813) 2023-01-31 17:30:06 +01:00
Henning Dieterichs
c3bf0fb83c Fixes #172384 2023-01-30 14:35:39 +01:00
Matt Bierner
945edde394 Fix small spelling error in vscode.d.ts (#172288) 2023-01-24 15:23:23 -08:00
Johannes Rieken
277ffee01f fix indentation (#171995) 2023-01-23 16:15:29 +01:00
Logan Ramos
0ba16b8326 Finalize telemetry proposal (#171858) 2023-01-23 09:44:04 +01:00
Peng Lyu
9ccc2b3b30 Support kernel source actions update. (#171781) 2023-01-20 02:43:04 +01:00
Alex Ross
920540cba4 Quick diff provider proposal updates (#171606)
* return type

* Add document selector
2023-01-18 13:01:40 +01:00