Commit Graph

741 Commits

Author SHA1 Message Date
Michael Blout
2de3b04eaf Add debug API for call stack selection changes (63943) (#179132)
* feat: Initial pass at Debug Focus, listener for thread or stack frame
selection (#63943)

Add debug.onDidChangeDebugFocus. May provide ids for session, thread,
and stackFrame, as appropriate.

Fixes: #63943 api should provide thread/stack frame id (paraphrasing)

* chore: small comment tweaks in proposal

* fix: bad copy/paste in proposed. moved types out of 'debug' namespace

* fix: separate 'debugFocus' into thread and stackFrame specific
listeners, and create separate contexts for each

* fix: Revert prev change, switch to single api with union type

This reverts commit c308bc3a90.

* fix: rename accessor from 'focus' to 'stackFrameFocus'

* fix: review comments; remove unused type, imrpove comments

* fixL review comments, type change:  sessionID property cannot be undefined

* Remove comments

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2023-04-17 18:42:53 +00:00
Ladislau Szomoru
218b8bd8da SCM - Add document property to expose the text document (#171504) 2023-04-14 13:55:14 +02:00
Matt Bierner
e9262678fa Add drop feedback UX (#179434)
For #179430

Adds two new UX components:

- An inline progress icon shown when a drop operation takes over 500ms. This replaces the notification. You can click on it to cancel the drop

- Post drop, a drop feedback icon that lets you drop the file in a different way. This lets you drop the file as plain text for instance instead of as a markdown link
2023-04-11 13:48:24 -07:00
Tyler James Leonhardt
a0361ed685 introduce a SemanticSimilarity provider model (#179640)
* introduce a SemanticSimilarity provider model

* have raceCancellablePromises also cancel if it rejects

* remove extensionId for now

* remove unused code
2023-04-10 16:07:07 -07:00
Peng Lyu
f7d1b7c8fb Finalize onWillSaveNotebookDocument (#179188) 2023-04-04 19:01:53 -07:00
Johannes Rieken
ab6087f090 update format ranges API proposal based on feedback (#179166)
https://github.com/microsoft/vscode/issues/158776
2023-04-04 19:19:15 +02:00
Johannes
99d65cd47c remove generic type, move API additions to separate proposals file, enforce proposal 2023-03-30 16:50:58 +02:00
Johannes Rieken
a47c78516c Merge branch 'main' into multirange-formatting 2023-03-30 16:33:11 +02:00
Peng Lyu
666e417297 Re #157844. Update for onWillSaveNotebookDocument. (#178602) 2023-03-29 10:56:52 -07:00
Hermann Loose
de3b0db8e8 Allow individual comments to be marked as draft (#173305)
* Allow individual comments to be marked as draft

This is a proposal for #171166.

* Remove `hasDraftComments` from `CommentThread`

* Rename `CommentVisibility` to `CommentState`

* Rename `CommentVisibility` to `CommentState`

* Add api proposal check

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-03-28 19:18:22 +02:00
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
Peng Lyu
c048e13440 Adopt async emitter for notebookOnWillSave (#177686) 2023-03-20 10:31:14 -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
ac22dad6fa cleanup, support commands, render richer message 2023-03-16 12:36:29 +01:00
Rob Lourens
215351a4cf Add sendInteractiveRequestToProvider API (#177155) 2023-03-14 21:09:25 -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
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
Logan Ramos
ca1186f3ec Fix missing common props for extensions (#176445)
* Fix missing common props for extensions

* Add test for options
2023-03-07 16:23:12 -08: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
Alex Dima
3d1487099b Add ExtensionIdentifierSet and ExtensionIdentifierMap 2023-02-26 00:13:58 +01:00
Cristopher Claeys
636dd226c6 Address PR comments 2023-02-16 19:43:29 +01:00
Cristopher Claeys
17f5d8b168 Add support for multiRange formatting 2023-02-16 19:43:29 +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
Henning Dieterichs
c3bf0fb83c Fixes #172384 2023-01-30 14:35:39 +01:00
Logan Ramos
0ba16b8326 Finalize telemetry proposal (#171858) 2023-01-23 09:44:04 +01:00
Johannes Rieken
5dbb41f91d validate telemetry sender when creating a logger (#171842)
fixes https://github.com/microsoft/vscode/issues/170073
2023-01-20 17:58:07 +01:00
Alex Ross
6894f821dc Add uri transformer to quick diff provider (#171614) 2023-01-18 15:06:28 +01:00
Alex Ross
920540cba4 Quick diff provider proposal updates (#171606)
* return type

* Add document selector
2023-01-18 13:01:40 +01:00
Joyce Er
30f439066e API: emit event with waitUntil when an edit session identifier will be requested (#171210)
* Support syncing with remote before Continue On

* Use `AsyncEmitter` util to implement `waitUntil`
2023-01-13 19:24:56 +01:00
Alex Ross
04f0fb46ff Separate quick diff API from SCM (#170544)
* Separate quick diff API from SCM
Part 1: split up the API.
upcoming in part 2: In editor UX for multiple quick diffs.
Fixes #169012

* Respond to review feedback

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2023-01-12 11:19:41 +01:00
Connor Peet
638db26797 testing: initial implementation of continuous run (#170770)
First pass of https://github.com/microsoft/vscode/issues/134941

The UI is pretty minimal so far, just a new icon (though I have a
proposal for some changes in the UX channel.)

If there's more that one profile that supports continuous test runs,
then we open a quickpick and ask the user which ones they want to use.

The data flow is then fairly simple. We call the `profile.runHandler`
with the appropriate request, but just doesn't "track" it like we do for
normal test runs. Then, any `createTestRun` calls are tracked as
ordinary extension-triggered test runs.

Currently we don't do anything to associate these new test runs with the
fact that they were from a specific auto-run request, but that could be
added if need to in the future.
2023-01-08 10:16:51 -08:00
Johannes Rieken
64eef4cec1 some API 💄 (#169404)
* some API 💄

* New names

Co-authored-by: Logan Ramos <lramos15@gmail.com>
2023-01-03 10:46:20 -05:00
Megan Rogge
3e9bfdddc0 quick fix API polish (#168688)
* fix #167649

* Update src/vs/platform/terminal/common/xterm/terminalQuickFix.ts

* fix #167652

* add builtin everywhere for consistency

* fix  #167621 and fix #167646

* get rid of type in api

* fix  #167584

* fix #167587

* fix #167587

* fix #167590 and fix #167557

* Revert "fix #167652"

This reverts commit cf4cc72790.

* Update src/vs/workbench/contrib/terminal/common/terminal.ts

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>

* Update src/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>

* use const enum + more

* use classes

* update npm package.json

* add example for outputMatcher

* improve description

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
2022-12-13 19:32:54 +01:00
Daniel Imms
5bb4cd1d6d Merge branch 'main' into merogge/quick-fix-api 2022-11-23 08:33:46 -08:00
Sandeep Somavarapu
e43bf31ab1 Share profiles (#166898)
* Share profiles #159891
- Share profile in GitHub
- Profile resource quick pick
- Import profile from vscode link

* remove duplicate code
2022-11-21 21:03:02 +01:00
meganrogge
5e0799af2e Merge branch 'main' into merogge/quick-fix-api 2022-11-18 14:43:09 -06:00
Logan Ramos
80004351cc Add TrustedTelemetryValue to API (#166620)
* Add TrustedTelemetryValue to API

* Fix missing any

* Address comments
2022-11-18 08:43:13 -08:00
meganrogge
44b799fcd8 Merge branch 'main' into merogge/quick-fix-api 2022-11-17 16:24:33 -06:00
Peng Lyu
8007c63981 Kernel mru picker preparation (#166513)
* MRU skeleton

* Kernel Source Provider

* filter

* register provider in exthost

* Misc changes

* Revert to suggestions

* non jupyter controllers

* Add ability to select a kernel

* show extension name in detail.

* 💄

* Move strategies out.

* Back button

* First arg be the notebook document

* 💄

* Update kernel status

* Show progress in MRU

* remove separator header

* Allow selecting 3rd party controllers

* Misc

* Fix spinner

* Add separators in kernel picker

* Update kernel select title.

* Prep for MRU.

Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>
2022-11-16 15:42:41 -08:00
meganrogge
8b69182b4b Add enum 2022-11-16 14:48:28 -06:00
meganrogge
7e7fbdc4c1 Merge branch 'main' into merogge/quick-fix-api 2022-11-15 19:03:11 -05:00
meganrogge
3c8c420b52 only pass in selector via contrib 2022-11-15 18:38:17 -05:00
Alex Ross
f1c9243888 Enable codicon decorations (#166358)
* Enable codicon decorations
Part of #135591

* Fix test compile error

* Add proposal reference

* Address feedback
2022-11-15 16:43:57 +01:00
Megan Rogge
42b0371819 Merge branch 'main' into merogge/quick-fix-api 2022-11-14 18:13:21 -08:00
meganrogge
b0ea89a590 re-add contrib pt 2022-11-14 16:02:55 -08:00
Peng Lyu
069ab7c4af Present kernel detection progress in kernel picker/status (#166294)
* Experimental kernel detection task

* Update kernel detection progress

* no need for start/end now.

* Enforce proposed api
2022-11-14 09:34:29 -08:00