Commit Graph

796 Commits

Author SHA1 Message Date
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
Johannes Rieken
30eaec0f23 remove getExtension workaround (#159758)
fixes https://github.com/microsoft/vscode/issues/153320
2022-09-01 15:35:29 +02:00
Connor Peet
c11dabf9ce testing: improve decoration syncing (#159705)
So, two problems. One, we didn't actually fully re-sync testing
decorations when explicitly updated by the extension, since we attempted
to get the test URI from the _diff_ which would never actually be
present on single updates (since the test item URI cannot be changed).
I think this was the main problem people saw.

So, this fixes that. It also applies a change so that we only sync the
ranges to what the extension gives us if the document version is up to
date with what was in the extension host. This should avoid syncing
decorations to the wrong place--instead just use VS Code's own decoration
location tracking until we get a newer update from the extension.

Fixes #158475
Fixes #153304
2022-08-31 12:57:49 -07:00
Joyce Er
fa4ff1519d Implement and adopt edit session identifier API proposal (#157733)
* Add canonical workspace identifier proposed API

* Use canonical id to store and resume edit sessions

* Add git extension workspace identity provider

* Fix warning incorrectly showing up

* Make auto resume behavior opt in

* * Create a separate service
* Accept WorkspaceFolder instead of URI
* Return string instead of object

* Make edit session restores resilient to provider registration races

* Introduce an activation event
* Activate contributing extension before using provider

* `CanonicalWorkspaceIdentity` -> `EditSessionIdentity`

* Show progress while resuming edit session

* Store edit session even if extension will take care of opening target workspace

* Address most of PR feedback

* `IEditSessionsWorkbenchService` -> `IEditSessionsStorageService`

* Unregister provider in renderer

* Split out proposal into new `editSessionIdentityProvider.d.ts`

* Fix bad merge

* Always show progress in window

* Convert URI schemes
2022-08-19 08:01:43 -07:00
Johannes Rieken
aa0e7b731a Merge pull request #157559 from ChaseKnowlden/cheerful-pigeon
Fix a typo in secret state
2022-08-15 16:57:00 +02:00
Logan Ramos
dbbf24add8 Initial first run of telemetry output API (#157807)
* Initial first run of telemetry output API

* Add proposed api check
2022-08-10 13:26:12 -04:00
ChaseKnowlden
6e725c4c51 Fix typo in file 2022-08-08 15:45:18 -04:00
Matt Bierner
f9b9ffe1ef Fix deprecation message (#156008) 2022-07-22 15:43:27 -07:00
Johannes
40df705e1b add API proposal for vscode.TabInputTextMerge 2022-07-14 09:33:13 +02:00
Matt Bierner
50056f3e78 Finalize drop into editor api (#155102)
Fixes #142990
Fixes #149779
2022-07-13 12:54:52 -07:00
Peng Lyu
f86174be34 Export Interactive Window tab input (#154864)
* Export Interactive Window tab input.

* Update inputBoxUri.

* remove inputBoxUri from API
2022-07-12 14:01:47 -04:00
Matt Bierner
c9bf4393d5 Rename drop API interface (#154876)
Makes the names more consistent
2022-07-12 11:33:13 +02:00
jeanp413
bf18550673 Merge remote-tracking branch 'upstream/main' into proposal-130231 2022-07-07 16:01:11 -05:00
Anthony Stewart
32037c7e96 Add a flag to honour the config when calling applyEdit form an extension 2022-07-04 12:57:59 +02:00
Peng Lyu
0122f8bd4a Re #153850. Add logs for iw creation. (#153862) 2022-06-30 15:47:36 -07:00
Johannes Rieken
9b1c6cb3ff joh/issue152834 (#153298)
* update sample

* dynamically alias `ms-vscode.references-view` onto `vscode.references-view`
2022-06-27 15:26:49 +02:00