Commit Graph

74960 Commits

Author SHA1 Message Date
Johannes b1cbc57c61 Merge branch 'main' into joh/swc 2022-05-25 12:29:28 +02:00
Matt Bierner e4f7f6a9da Add PasteEditProvider (#107283)
For #30066

This adds a new `documentPaste` api proposal that lets extensions hook into copy and paste.

This can be used to do things such as:

- Create link when pasting an image
- Bring along imports when copy and pasting code
2022-05-25 12:27:58 +02:00
Ladislau Szomoru 9ade6a6636 Engineering - Refactor cyclic dependency (#150343)
* Refactor to avoid cyclic dependency

* Pull request feedback + compilation errors
2022-05-25 10:01:21 +02:00
Matt Bierner d891b49fc0 Enable file DataTransfer on tree views (#150328)
For #147481
2022-05-24 21:38:12 -07:00
Megan Rogge 7635c51d7f add telemetry comments (#150317) 2022-05-24 16:10:38 -07:00
Matt Bierner 0226ad3aa7 Fix drop data transfer overwriting everything with uri-list mime (#150319) 2022-05-24 23:02:04 +00:00
Logan Ramos 3a8b1fe03e More telemetry comments (#150303)
* Add owners to all telemetry events

* More comments

* Add comments to non typescript GDPR annotation

* Another comment
2022-05-24 16:00:55 -07:00
Tyler James Leonhardt f363be172c Rename LocalizationsService to LanguagePackService and misc moves (#150314)
* rename LocalizationsService to LanguagePackService and misc moves

* couple more renames

* one more rename
2022-05-24 15:05:17 -07:00
Tyler James Leonhardt bac03e54cb Move "Configure Display Language" to Action2 (#150308) 2022-05-24 13:02:08 -07:00
Alexandru Dima 65d9209e2b Merge pull request #150304 from microsoft/alexd/splendid-scallop 2022-05-24 21:43:07 +02:00
Alex Dima 7226b69ff4 Fix layering issue 2022-05-24 21:14:47 +02:00
Alex Dima 476e8cc521 Extract NativeExtensionService and register a real implementation based on UtilityProcess for the extension service in the sandbox case 2022-05-24 21:07:29 +02:00
Logan Ramos d937389358 Add owners to all telemetry events (#150296) 2022-05-24 14:58:08 -04:00
Sandeep Somavarapu a88075a847 show migrate action in extensions viewlet (#150301) 2022-05-24 18:42:47 +00:00
Alex Dima 7baaf796b0 Extract NativeLocalProcessExtensionHost 2022-05-24 20:29:14 +02:00
Alex Dima fa120bbacd Have the renderer side decide if it wants to use UtilityProcess 2022-05-24 19:46:45 +02:00
Ladislau Szomoru bf6971ac46 Fix enablement check (#150297) 2022-05-24 17:43:27 +00:00
Alex Dima 9950ba00d9 Extract connection strategies to two classes 2022-05-24 18:52:13 +02:00
Johannes cf2cb807a9 undo export import workarounds 2022-05-24 18:27:41 +02:00
Raymond Zhao ac0a282547 Fix default override model value (#150232) 2022-05-24 08:33:53 -07:00
Ladislau Szomoru 54cf6a154f SCMInput enablement proposed api (#150270) 2022-05-24 15:01:41 +00:00
Johannes Rieken 15d3e26a36 Merge pull request #150263 from microsoft/hediet/inline-completion-finalization 2022-05-24 16:59:56 +02:00
Alexandru Dima dfa06b84f8 Use an UtilityProcess for the extension host (#150167) 2022-05-24 16:42:47 +02:00
Johannes Rieken 4613cb6174 Merge pull request #150282 from microsoft/joh/distinct-sailfish
move `USER_TASKS_GROUP_KEY` into tasks.ts, out of taskService.ts, and prevent cyclic dependency
2022-05-24 16:24:10 +02:00
Johannes 0844d7c996 move USER_TASKS_GROUP_KEY into tasks.ts, out of taskService.ts, and prevent cyclic dependency
fixes https://github.com/microsoft/vscode/issues/150178
2022-05-24 16:13:37 +02:00
Sandeep Somavarapu ffb503f65a Fix #149632 (#150278) 2022-05-24 14:11:47 +00:00
Johannes dea356fa9c Merge branch 'main' into joh/swc 2022-05-24 16:10:18 +02:00
Alexandru Dima 339c3a9b60 Fixes #150176: Extract code related to encoded token attributes to a separate file (#150275) 2022-05-24 13:51:23 +00:00
Sandeep Somavarapu 903c5c6cc9 - Remove Show Extension button (#150274)
- Add Open Alternative Extension or Configure Settings button
2022-05-24 13:50:36 +00:00
Johannes Rieken a3a7f52f7c Merge pull request #150264 from microsoft/joh/wide-wombat
joh/wide wombat
2022-05-24 15:17:42 +02:00
Johannes 8c1a962c4c Merge branch 'main' into joh/swc 2022-05-24 14:19:06 +02:00
Henning Dieterichs 753fc8a044 Fixes bracket fixing bug for inline completions. 2022-05-24 13:16:43 +02:00
Johannes 67c79ededd clarify when/how setting is effective 2022-05-24 12:57:38 +02:00
Johannes 957a9dc194 rename titleMenu to commandCenter
This changes hows types and variables are called but also theme colors and the setting name are changing
2022-05-24 12:53:25 +02:00
Henning Dieterichs 9ef07308ea Finalizes inline completions 2022-05-24 12:52:19 +02:00
Alexandru Dima faa736ed0e Fixes #150177: Extract LinePartMetadata to a separate file (#150259) 2022-05-24 12:22:02 +02:00
Sandeep Somavarapu 927f12f067 Merge pull request #150065 from justanotheranonymoususer/alternative-fix-148993
Add extension output label to url
2022-05-24 10:29:06 +02:00
Johannes ebcbd3d636 well defined order for command center bwd/fwd buttons
This isn't https://github.com/microsoft/vscode/issues/150208 but was seen in its screen capture
2022-05-24 09:38:47 +02:00
Sandeep Somavarapu 6099f88ce7 fine tune message (#150251) 2022-05-24 09:15:40 +02:00
Peng Lyu 27ea5e48ae Merge pull request #150146 from microsoft/rebornix/source-commands
Notebook kernel source menu contribution
2022-05-23 18:11:33 -07:00
Rob Lourens 300060066d Show watch value in expression tooltip (#150237)
Fixes #150081
2022-05-24 01:01:54 +00:00
rebornix 568d036b38 shim for menu service in more tests. 2022-05-23 17:50:03 -07:00
rebornix 11d269da26 update tests 2022-05-23 17:27:21 -07:00
Matt Bierner 6a9108155f Finalize some interactive contribution points (#150234)
Follow up on #149271

Finalizing these two contributions based on https://github.com/microsoft/vscode/pull/149767#issuecomment-1135164600

We're leaving the `notebook/cell/executePrimary` point for now as we don't plan to finalize it
2022-05-23 16:57:06 -07:00
Matt Bierner 91923bab48 Cleanup data transfer types (#149774)
This change attempts to clean up our internal data transfer types

- Replace `IDataTransfer` (which was just an alias for map) with a `VSDataTransfer` helper class.

    This lets us add helpers and also restrict what you can do on a datatransfer

- Move `DataTransferDTO` types into `protocol`

- Move `DataTransferTypeConverter` into `typeConvert`

- Don't return internal types to ext host callers

     For example, previously we leaked `IDataTransfer` out into providers / controllers. Instead we should always return an instance of `vscode.DataTransfer` to extensions
2022-05-23 23:28:02 +00:00
Matt Bierner 45304da73d Finalize NotebookEditor api proposal (#149767)
* Finalize NotebookEditor api proposal

Fixes #149271

This finalizes most parts of the NotebookEditor api proposal. I haven't removed the proposal entirely as there are still a few parts being left behind:

- The deprecated properties/functions
- A few contribution points such as `notebook/cell/executePrimary`

* remove extra quote
2022-05-23 23:27:17 +00:00
Raymond Zhao 7075f2db1e Move out Settings editor indicator label impl (#150230)
This PR reduces technical debt.
2022-05-23 23:05:31 +00:00
Sandeep Somavarapu a6eb00568f - Add Show Extension option to Install Anyway dialog (#150218)
- Provide Migrate extension action for deprecated extensions
2022-05-23 14:59:17 -07:00
Logan Ramos b27cfaccfd Close brace on redacted property (#150207) 2022-05-23 15:21:37 -04:00
Jackson Kearl 138f4e9abd Fix ignorefile parsing on windows (#150213) 2022-05-23 18:59:00 +00:00