Commit Graph

1277 Commits

Author SHA1 Message Date
Johannes Rieken
6545fb96ba re-use default NotImplementedError, make base type as implementing task service, https://github.com/microsoft/vscode/issues/101857
fyi @alexr00
2020-07-13 12:20:24 +02:00
Johannes Rieken
cbbd1d55a8 re-use default NotImplementedError, fyi @Tyriar, https://github.com/microsoft/vscode/issues/101857 2020-07-13 12:20:24 +02:00
Alex Ross
97bf8e14f5 Move isMarkdownString to extHostTypes MarkdownString 2020-07-13 11:52:17 +02:00
Alex Ross
622aa939d9 Allow unsupported types for tree tooltip
Fixes #102170
2020-07-13 11:15:17 +02:00
Rachel Macfarlane
40324ee577 Auth provider tweaks, change types of change events 2020-07-10 10:49:10 -07:00
Alex Ross
f577e411dd Remove some uses of deprecated items from es6.code-search 2020-07-10 16:15:44 +02:00
Eric Amodio
561f5b6d26 Remove eslint disable -- #101978 2020-07-09 22:47:42 -04:00
Johannes Rieken
8f19ff42af extract extHost.common.services and have node- and worker-services for specifics 2020-07-09 15:29:59 +02:00
Johannes Rieken
43184b2bed add storageUri and globalStorageUri to ExtensionContext, https://github.com/microsoft/vscode/issues/101857 2020-07-09 12:48:03 +02:00
Johannes Rieken
a8a4e3760b add workspaceStorageHome and use that in extHostStoragePaths, remove appSettingsHome, https://github.com/microsoft/vscode/issues/101857 2020-07-09 12:48:02 +02:00
Johannes Rieken
277b222584 add ExtensionContext#logUri, https://github.com/microsoft/vscode/issues/101857 2020-07-09 12:48:02 +02:00
Andre Weinand
673e35d278 new proposed API stopDebugging; see #101883 2020-07-09 10:49:22 +02:00
Andre Weinand
e308dd3b36 add DebugSession.terminate; see #101883 2020-07-08 18:29:01 +02:00
Alex Ross
fda4c35b27 Make open and save dialog options optional
Fixes #101426
2020-07-08 13:46:10 +02:00
Alex Ross
00ebd1d85f Ensure tasks are resolved when run from extension host
Related to #101884
2020-07-08 10:17:13 +02:00
Johannes Rieken
f08ce02836 debt - remove unused userHome from extHost env, also some todos 2020-07-07 16:01:50 +02:00
Rachel Macfarlane
348e2b4c6e displayName -> label, use providerIds in favor of getProviderIds, #100993 2020-07-06 18:23:12 -07:00
Alex Dima
3c77120d88 Fixes #75284: Run a real search when enabling/installing an extension with workspaceContains 2020-07-06 23:35:08 +02:00
Alex Dima
d432126ecf Extract workspaceContains related logic to a separate file (#75284) 2020-07-06 23:15:52 +02:00
Rachel Macfarlane
ab7a5ec3ad Address part of feedback for #100993 2020-07-06 08:51:24 -07:00
Martin Aeschlimann
8d4ec36ba6 JSON doc needs to escape icon reference Fixes #101512 2020-07-02 12:11:51 +02:00
Alex Ross
b086502c8d Properly convert markdown for tree hovers
Fixes https://github.com/microsoft/vscode-pull-request-github/issues/1945
2020-07-02 12:10:21 +02:00
isidor
a301dc553b change noCompress -> compress and make default to not compress sessions in call stack
#101429
2020-07-02 11:37:35 +02:00
isidor
8053b22918 fixes #101554 2020-07-02 10:57:36 +02:00
João Moreno
0fb1871c09 Merge branch 'master' of github.com:microsoft/vscode 2020-06-29 15:46:40 +02:00
João Moreno
4b9c19ab03 fixes #101277 2020-06-29 15:46:35 +02:00
Sandeep Somavarapu
6bdb7e921e do not use extensionStoragePaths in web @rebornix FYI 2020-06-29 15:21:55 +02:00
rebornix
8bf295d576 fix #97998. let the api throw. 2020-06-26 10:43:50 -07:00
isidor
8e40c436dd introduce noCompact flag to DebugSessionOptions
#100852
2020-06-25 10:03:16 +02:00
Rachel Macfarlane
629e1d7e16 Remove old getSessions and login methods from auth provider API 2020-06-24 15:33:09 -07:00
Alex Ross
39a406daa3 Add resolveTreeItem to custom tree
Part of #100741
2020-06-24 16:29:01 +02:00
Daniel Imms
48ce8ecce7 Convert TerminalLink.length to endIndex
Aligns more with other APIs

Part of #91290
2020-06-24 06:10:39 -07:00
Daniel Imms
4c51b89d2c Remove TerminalLink.target
Part of #91290
2020-06-24 06:10:38 -07:00
Johannes Rieken
32b00e8754 add validatePosition and validateRange, https://github.com/microsoft/vscode/issues/96444 2020-06-24 11:09:43 +02:00
Johannes Rieken
f66687b6bc add ConcatDocument#contains, https://github.com/microsoft/vscode/issues/96444 2020-06-24 11:09:43 +02:00
Johannes Rieken
b54228e06b Revert "make NotebookConcatTextDocument extends "normal" TextDocument, https://github.com/microsoft/vscode/issues/100186"
This reverts commit cda677da09.
2020-06-24 11:09:43 +02:00
Pascal Fong Kye
e3033faeee File operation events support multiple resources (#98988)
* refactor: use array of resources

* refactor: use an array of uricomponentspair

* feat: move many resources

* refactor: rename data to files

* feat: use array of files for copy

* refactor: use move with multiple resources

* refactor: use move method with array of files

* refactor: rename data to files

* feat: moveOrCopy array of resources on paste

* refactor: use concise loop syntax

* test: assert number of events

* refactor: rename uricomponentspair

* support multiple files on WorkingCopyFileEvent

* feat: support multiple resources
onWillRunWorkingCopyFIleOperation onDidRunWorkingCopyFileOperation

* refactor: make source optional for consistency

* refactor: support resources for delete

* test: isolate tests

* fix: iterate over resources

* feat: support operations on delete

* feat: adopt deleting multiple resources

* fix: typing and sequential flow of copyservice

* fix: typing and naming

* fix: typing and naming

* fix: use different message for multiple overwrites

* refactor: naming consistency

* fix: use array resources

* fix: message for multiple overwrites

* fix format

* clean up working copy file service

* refactor multiple overwrites message helper

* use openeditors to bulk open

* split drop copy and move

* add returns

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-06-24 10:32:55 +02:00
Johannes Rieken
3fd09e62b5 send requests per provider so that a hanging provider doesn't block other providers, https://github.com/microsoft/vscode/issues/100524 2020-06-23 11:23:11 +02:00
Connor Peet
aa01066b71 notebooks: fix renderer message passing being broken 2020-06-22 15:47:10 -07:00
Wenlu Wang
9d6054c99d Add ts/js deprecated support (#97742)
* Add ts/js deprecated support

* Support callhierarchy

* avoid tags

* fix lint

* fix lint

* Avoid changes

* Avoid assign

* Avoid changes

* Avoid styles

* Add temp deps for build

* update version

* add config item

* fix type

* Use expiremental namepsace

* fix types
2020-06-22 14:01:37 -07:00
Connor Peet
a57cb45be8 notebooks: pipe renderer API postmessages to the renderer itself (#100414)
* notebooks: pipe renderer API postmessages to the renderer itself

Previously the postMessage on acquireNotebookRenderer API was just
a proxy to the global vscode postmessage. Now, it's linked to the
renderer and will cause an optional `onDidReceiveMessage` method on
the renderer to be called.

The message still _also_ goes to the global webview message handling
for advanced use cases, but this change allows the webview<->renderer
communication to be more nicely contained
and separate for most use cases.

* wip

* fixup! pr comments
2020-06-22 09:35:16 -07:00
Alex Ross
fb36c0ddc3 Adopt hover service in custom tree view
Part of #100741
2020-06-22 11:09:44 +02:00
Daniel Imms
269f0fdd83 Merge pull request #100496 from microsoft/tyriar/link_providers
Proposed terminal link provider API
2020-06-21 18:46:24 -07:00
Daniel Imms
a560acd1bd Remove test link provider 2020-06-21 18:01:33 -07:00
João Moreno
cd3a3ea6fa address codeql review 2020-06-21 17:17:51 +02:00
Daniel Imms
cb5ddcf44f Resolve todos, move process creation after xterm
Having _processManager.createProcess called before _createXterm was causing
some event listeners like onProcessReady to fire before they were registered
within _createXterm.
2020-06-21 08:12:13 -07:00
Daniel Imms
395b228387 Merge remote-tracking branch 'origin/master' into tyriar/link_providers 2020-06-19 05:26:26 -07:00
Johannes Rieken
9683615c00 make ExtHostWindow a service so that it can be consumed in terminal world, fyi @Tyriar 2020-06-18 15:07:06 +02:00
Daniel Imms
ef93f6eb65 Update 2020-06-18 05:53:38 -07:00
Daniel Imms
a0558707ec Handle link on exthost 2020-06-18 05:15:04 -07:00