Commit Graph

711 Commits

Author SHA1 Message Date
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
meganrogge
4a42f8bc9f fix issue 2022-11-11 14:13:23 -08:00
meganrogge
32418bf83e add api 2022-11-11 13:46:16 -08:00
Sandeep Somavarapu
2cd8ea24f2 #159892 Finalize (#165925) 2022-11-09 10:28:27 -05:00
Matt Bierner
7233e19dd5 Remove notebook content provider api (#165195)
Fixes #160580
Fixes #147248
2022-11-01 17:23:32 -07:00
Henning Dieterichs
50b1bccd17 Remove inlineCompletionsNew proposal. Fixes #164856 (#165044) 2022-10-31 13:29:04 +01:00
Matt Bierner
4eef476a4f Remove old notebook editor api proposal (#164504)
All consumers should now be on the finalized api

Fixes #151661
2022-10-24 14:40:53 -07:00
Matt Bierner
6c3f161641 Remove liveshare specific registerContentProvider api (#164497)
Liveshare has migrated off of the content provider api
2022-10-24 22:39:28 +02:00
Johannes
62e2760ff5 Have the ability to add modelVersionId to IMarkerData and IMarker 2022-10-19 16:08:38 +02:00
Logan Ramos
75cdec29a4 Fix wrong proposed api check (#163964) 2022-10-18 21:16:46 +02:00
Joyce Er
f9a0fdeff2 Tolerate minor edit session identity differences (#163804)
Also add basic support for partial edit session identity matches
2022-10-16 23:51:51 -07:00
Johannes Rieken
0dd2dc89d2 hook up unhandled extension errors with extension telemetry (#163424)
* hook up unhandled extension errors with extension telemetry

* fix layering

* forward unhandled language provider errors to extension telemetry loggers
2022-10-13 09:04:08 -04:00
Sandeep Somavarapu
894aa9a7a7 Log improvements (#163532)
* - expose log level in the proposed api
- ability to set log level per logger

* fix tests
2022-10-13 03:48:52 -07:00
Logan Ramos
e814cb5c65 Telemetry API (#160902)
* First run of scaffolding out a telemetry API

* Make telemetry config up to date

* Further work on telemetry API

* Implement telemetry logging extension host

* Add logging to exthost logger

* Extract telemetry cleaning

* Add data cleaning

* Update email regex
2022-10-11 15:44:18 -04:00
Tyler James Leonhardt
53785ee45d Finalize localization API (#163344) 2022-10-11 12:39:39 -07:00
Alex Ross
23e6c032af Start enforcing the tunnels API (#163187)
* Start enforcing the tunnels API

* Fix API test
2022-10-10 10:10:24 -07:00
Tyler James Leonhardt
0f8068478e Support format2 (#162785) 2022-10-06 15:02:33 +02:00
Tyler James Leonhardt
6a6227bc3e Use any for the args since we will stringify whatever is passed in (#161421)
* Use any for the args since we will stringify whatever is passed in

* args should also be optional
2022-09-21 11:24:45 -07:00
Ian Huff
287229489b notebookControllerAffinityHidden proposal to allow for hiding of notebook controllers per document (#161145)
* notebookControllerAffinityHidden proposal to allow for hiding of controllers from the picker per document

* change Extended to 2

* add a proposed API guard check for usage of new Hidden enum value

Co-authored-by: Ian Huff <ianhuff@Ians-MacBook-Pro.local>
2022-09-20 08:15:13 -07:00
Sandeep Somavarapu
35c7ee9d02 Support log output channels for extensions (#161249)
* introduce log api in extension context

* separate registering output vs log channel

* Separate extension log channels in show logs command

* add logging error to embedder logger

* show extension log in the extension editor

* configure log level per extension

* change the order of log entries

* introduce logger

* align with output chanel

* revert changes

* fixes
2022-09-19 09:03:41 -07:00
Johannes Rieken
77309b33d4 add WorkspaceEditMetadata and use it for applyEdit, (#160996)
* add `WorkspaceEditMetadata` and use it for `applyEdit`,

https://github.com/microsoft/vscode/issues/112109

* fix compilo in tests

* workspace edits from updating paths are marked as refactoring fyi @mjbvz
2022-09-16 09:44:19 +02:00
Tyler James Leonhardt
ccddb94f98 initial cut of vscode.l10n (#158328) 2022-09-14 16:48:25 -07:00
Daniel Imms
a4cce8f575 Merge pull request #160900 from babakks/add-change-shell-event
Add `onDidChangeShell` event to the API
2022-09-14 07:53:50 -07:00
Babak K. Shandiz
9b11b34bf1 🕵 Check extension has enabled envShellEvent proposed API
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-09-14 18:46:56 +04:30
Babak K. Shandiz
d336c5cd1e 🎁 Add onDidChangeShell event to ext host
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2022-09-14 13:33:58 +00:00
Matt Bierner
2514759850 Remove notebook content provider save and backup functionality (#160581)
For #147248

When stepping through the liveshare code, we figured out they do not appear to be using `save`, `saveAs`, or `backup` (they return empty results for these)

This PR removes this part of the proposal so we can track just the parts of the api that they are using
2022-09-12 14:08:25 -07:00
Johannes
4b1bfdeea6 rename proposal, enforce proposal, remove minResourcesToAutosave 2022-09-08 15:11:40 +02:00
Johannes
f3f9f7a10d Merge branch 'main' into pr/a-stewart/154079 2022-09-08 14:55:55 +02:00
Johannes Rieken
50cdf1d71b Merge pull request #160176 from microsoft/joh/nasty-rook
have an explicit `SnippetTextEdit` and all to set them onto a workspace edit
2022-09-07 00:02:46 +02:00
Benjamin Simmonds
f51258b93b Optional TreeItem Checkbox (#158250) 2022-09-06 12:41:57 +02:00
Johannes
2f908943a1 have an explicit SnippetTextEdit and all to set them onto a workspace edit
https://github.com/microsoft/vscode/issues/145374
2022-09-06 11:16:08 +02:00