Commit Graph

3107 Commits

Author SHA1 Message Date
Henning Dieterichs
bae40168ae Fixes issues from code review 2022-05-05 09:54:41 +02:00
Henning Dieterichs
3b08d52d0b Updates inlineCompletions proposal from inlineCompletionsNew proposal.
Also moves InlineCompletionList.commands to inlineCompletionsAdditions proposal.
2022-05-05 07:49:38 +02:00
Jason Williams
e19f09713b Enable globs on tasks otherwise fallback to default - fixes #88106 (#141230)
* use glob on tasks otherwise fallback to default

* add support for test commands also

* try to find one globbed task otherwise fallback to defaults

* - get relativePath (but fallback to absolute if outside of workspace)
- bring back json schema

* Refactor and reduce duplicate code

* remove glob, make isDefault a string or boolean

* update taskConfig

* - rebase
- type updates
- splitPerGroupType should check explicitly for true on isDefault
- hygiene check

* Remove task glob from API

* Task group DTO updates

* Make sure globs run ahead of default task if there's multiple globs matching

* Style and name changes

* More naming and code re-use

* Glob doesn't work when only 1 glob match

Co-authored-by: Alex Ross <alros@microsoft.com>
2022-05-03 09:56:24 +02:00
沈鸿飞
19e728a2c0 In addition to WebviewPanel, let WebviewView also support transferring of TypedArrays (#148429) 2022-04-30 17:53:37 -04:00
Alex Dima
0ca6fff829 Fixes #148043 2022-04-25 19:42:39 +02:00
Johannes
e7bc9bb5fc don't return duplicates from vscode.extensions.allAcrossExtensionHosts, add ExtensionIdentifierSet fyi @alexdima 2022-04-22 12:43:25 +02:00
Logan Ramos
aa69f3d762 Fix #15178 Finalize tabs API 🎉 2022-04-21 11:08:12 -04:00
Johannes
ad4470522e propose extensions.allAcrossExtensionHosts and related APIs, https://github.com/microsoft/vscode/issues/145307 2022-04-21 14:45:46 +02:00
Alexandru Dima
7ea39549f5 Merge pull request #147761 from microsoft/alex/extensions-on-all-hosts
Send all extension descriptions to all extension hosts
2022-04-20 17:03:11 +03:00
Alex Dima
0b2c629d21 Remove left-over console log calls 2022-04-20 17:01:58 +03:00
Alex Dima
3e7fed03dc Update the extension path tree after $deltaExtensions 2022-04-20 17:00:44 +03:00
Alex Dima
b9e8734a7b Do fs calls in parallel 2022-04-20 16:37:56 +03:00
Alex Dima
a045f3f48a Send all extension descriptions to all extension hosts (#145307) 2022-04-20 15:06:31 +03:00
Johannes
9530dca29d finalize notebookDocumentEvents-API, https://github.com/microsoft/vscode/issues/144662 2022-04-20 13:58:37 +02:00
Johannes
a9c39c582c rename type, add jsdoc https://github.com/microsoft/vscode/issues/144662 2022-04-20 12:50:54 +02:00
Johannes
8783c56eb7 fix https://github.com/microsoft/vscode/issues/147711 2022-04-20 11:30:37 +02:00
Johannes
5931aa8ed6 fix two issues with notebookType and document selectors, (1) make sure that notebookType: * matches only when a notebook is around, (2) include notebookType-property when converting from extHost type to renderer type, fyi @dbaeumer 2022-04-20 09:47:13 +02:00
Matt Bierner
50ea16198d Remove the concat text document api proposal
Fixes #146781
2022-04-14 14:39:44 -07:00
rebornix
280050dba5 💄 2022-04-14 11:19:50 -07:00
rebornix
f20a0f2a10 extract exthost/mainthread proxy kernels. 2022-04-14 11:10:48 -07:00
rebornix
ec30263535 Merge remote-tracking branch 'origin/main' into rebornix/lazy-kernel 2022-04-14 10:09:45 -07:00
rebornix
61095a1347 notebook controller or id 2022-04-14 10:07:49 -07:00
Logan Ramos
db30f3d981 Change TabChangeEvent variable names 2022-04-14 09:43:53 -04:00
Johannes Rieken
35c34e1a9a add TabGroupChangeEvent-event which is similar to the TabChangeEvent (#147443) 2022-04-14 09:08:28 -04:00
Johannes
c4dd43dd79 💄 2022-04-14 14:53:24 +02:00
Johannes
4ea02deebd ignore text document version whenever that document is marked as being created, fixes https://github.com/microsoft/vscode/issues/146964 2022-04-14 11:04:35 +02:00
Sandeep Somavarapu
eda166b7fa Move output service to workbench/services 2022-04-13 12:00:09 +05:30
rebornix
a2e45088bc controler id 2022-04-12 17:24:15 -07:00
Tyler Leonhardt
527d63162a address feedback by having concrete ValidationMessage type 2022-04-12 17:18:13 -07:00
Logan Ramos
20bd040c95 Merge internal options to timeline options (#147304) 2022-04-12 11:14:19 -07:00
Henning Dieterichs
841c777ad8 Introduces InlineCompletionList.commands and improves documentation comments. 2022-04-12 19:32:40 +02:00
Logan Ramos
ccf4a9e339 Remove property level owner from telemetry types 2022-04-11 15:18:30 -04:00
rebornix
860221a193 two kernel types 2022-04-11 08:05:40 -07:00
Logan Ramos
2cbe5991f9 Fix #145773 2022-04-11 10:48:54 -04:00
Alex Dima
80e81c66c0 Deactivate extensions after tests are run (#96090 , #146944) 2022-04-07 22:27:14 +02:00
Alex Dima
e02a7747eb Move terminate() to IExtHostExtensionService 2022-04-07 22:23:38 +02:00
Connor Peet
0de44f9786 variables: allow resolving extensionDir (#146274)
* variables: allow resolving `extensionDir`

This allows us to fix https://github.com/microsoft/vscode-remote-release/issues/5516#issuecomment-911597917

It enables a new replacement in the format `${extensionDir:<id>}` which
will expand to the filesystem path where the extension is stored. This
involved churn, since now resolution is always synchronous (where before
the terminal took a synchronous-only path.)

Additionally, changes were needed to inject this information in the
variable resolver. As part of this I made the extension host resolver
(used by debug and tasks) its own extension host service.

* fixup! preserve object key order in resolution, add extensionDir support

* fixup! address pr comments

* fixup! address pr comments

* fixup! address pr comments

* config: fix config replacement only working for first variable per line

* fixup! fix unit tests
2022-04-07 08:06:31 -07:00
Johannes Rieken
bf63ea1932 Merge pull request #146788 from microsoft:digitarald/ext-cmds
Instrument contributed extension commands
2022-04-06 10:18:26 +02:00
Johannes
f182622565 💄 2022-04-06 10:17:46 +02:00
Matt Bierner
32acfdde2a Correctly set webview active state on restore
Fixes #145648
2022-04-05 16:43:54 -07:00
Logan Ramos
135a162106 Rename .groups to .all again 2022-04-05 15:06:31 -04:00
Logan Ramos
ef71c65923 Change onDidChangeTab event 2022-04-05 14:56:47 -04:00
Matt Bierner
f8a64a1482 Adding readonly to a few more array arguments 2022-04-05 11:06:37 -07:00
Matt Bierner
c60ec4e4ce Mark tree drag api arrays are readonly
This makes is more clear that you can't modify the drop/drop mime types arrays to update them
2022-04-05 11:06:36 -07:00
Harald Kirschner
9820963898 Refactor based on feedback 2022-04-05 09:19:47 -07:00
Matt Bierner
1096634767 Mark input arrays as readonly 2022-04-05 08:19:03 -07:00
Johannes
a2d072a5fc todo update 2022-04-05 14:33:32 +02:00
Harald Kirschner
fed1bce6c7 Instrument contributed extension commands 2022-04-04 18:13:55 -07:00
Matt Bierner
86bab72670 Adding deprecation message for concat text document
For #146781
2022-04-04 17:00:09 -07:00
Logan Ramos
053084e592 Implement group closing tabs API 2022-04-04 15:02:22 -04:00