Commit Graph

953 Commits

Author SHA1 Message Date
Joao Moreno
8a928f98ea ipc api: MessagePort.start() needs to be called, so events start flowing 2022-01-14 14:09:21 +01:00
Benjamin Pasero
e3cf7e5e1b API: Allow to use the file watcher for aribitrary folders (#3025) (#139881)
* API: Allow to use the file watcher for aribitrary folders (#3025)

* fix tests

* update `createFileSystemWatcher` docs

* refuse to watch resources that are watched in workspace already

* properly check proposed API

* make it work via `createFileSystemWacher` (first cut)

* more docs

* cleanup

* enable recursive watching based on pattern

* add tests

* drop out-of-workspace events when using simple patterns

* do not apply excludes when watchig files

* log extension watch requests

* also log unwatch

* improved exclude handling

* more docs

* drop proposed api needs

* remove `suite.only`

* cannot watch inside workspace more than once

* do not send extension decriptor over

* adopt latest changes

* add `baseUri` to relative pattern

* backwards compat
2022-01-13 13:32:03 +01:00
Alex Ross
c393048b98 Move tunnel features (#140620) 2022-01-13 12:13:40 +01:00
Alex Ross
adb8450420 Add timestamps to comments proposal (#139849)
Part of #139524
2022-01-13 11:33:43 +01:00
Alex Ross
4d1d73f6ef Revert "Add timestamps to comments proposal (#139849)"
This reverts commit b978d7150c.
2022-01-12 15:51:57 +01:00
Alex Ross
96b6511b5d Tree dnd proposal renames 2022-01-12 15:51:40 +01:00
Alex Ross
b978d7150c Add timestamps to comments proposal (#139849) 2022-01-12 14:41:23 +01:00
Johannes Rieken
d528769c4d don't send full ExtensionDescription when using message API 2022-01-11 13:57:30 +01:00
Benjamin Pasero
913952ac2e progress - do not send entire IExtensionDescription around 2022-01-11 12:59:56 +01:00
Connor Peet
fe0e9a96d3 testing: allow canceling test refresh 2022-01-10 15:09:08 -08:00
Sandeep Somavarapu
375506823f Merge branch 'main' into sandy081/fix140120 2022-01-08 00:37:53 +01:00
Sandeep Somavarapu
2766a74d2a - move migration into a util function
- extract extension storage methods to a separate service
2022-01-08 00:36:52 +01:00
Johannes Rieken
2586299c42 experiment with InlayHintLabelPart and source location as "anchor action",
https://github.com/microsoft/vscode/issues/129528
2022-01-07 20:47:33 +01:00
Connor Peet
a87cdeaec7 testing: add refresh action
For #139737
2022-01-06 13:02:51 -08:00
Johannes Rieken
3677cc48a8 support to resolve inlay hints for hover and for future display parts, https://github.com/microsoft/vscode/issues/129528 2022-01-06 16:30:04 +01:00
João Moreno
5e630c145f Enable IPC API for web (#138054)
* wip: ipc api

* wip: send message ports upfront

* address both inside and outside iframe

* fix build

* relay MessagePort to worker

* address api discussion feedback

* check for proposed api

* fix layer breakage

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-01-05 02:11:12 -08:00
Alex Dima
973684056e Rename modes to languages 2021-12-30 18:52:15 +01:00
Rob Lourens
f944a56538 Remove runState from cell internalMetadata. Expose execution state data from service.
For #125668
2021-12-29 15:46:36 -08:00
Rob Lourens
25d41d15f9 Split Execution and ExecutionState services 2021-12-28 13:44:18 -08:00
Rob Lourens
33d81fdc8c Improve NotebookExecutionService and cancel executions when closing the notebook, deleting cells, and changing the kernel 2021-12-28 13:42:01 -08:00
Alex Dima
365a3c23be Rename mode to language 2021-12-28 10:51:35 +01:00
Alex Ross
30e8da8a0f Enable tree drag and drop across trees (#139567) 2021-12-21 11:25:10 +01:00
Matt Bierner
12ff67ad9d Use SerializableObjectWithBuffers instead of spread
Fixes #137757
2021-12-10 17:20:44 -08:00
Megan Rogge
e1c0b0dd25 allow extension terminals to opt-out of persistence #118726 (#138884) 2021-12-10 14:53:06 -08:00
Johannes Rieken
84fce54d28 send file system info with dummy uri, https://github.com/microsoft/vscode-remote-release/issues/5714
this ensures uris undergo transformation and therefore file and vscode-remotes are handled correctlly
2021-12-06 10:35:48 +01:00
Johannes Rieken
8c64e1ec31 Merge pull request #136657 from microsoft/joh/shortcut_fs
Add shortcut between file system provider and consumer
2021-11-18 12:28:30 +01:00
Alex Ross
61913650d8 Enable file dnd in tree views
Part of #32592
2021-11-17 14:00:08 +01:00
Alex Ross
daabfff185 Incorporate tree dnd API feedback
Part of #32592
2021-11-17 13:10:01 +01:00
Alex Ross
adcda6af72 Add onWillDrop to tree dnd proposal
Part of #32592
2021-11-16 14:51:58 +01:00
Johannes Rieken
bc417a6d30 Merge branch 'main' into joh/shortcut_fs 2021-11-16 14:34:28 +01:00
Johannes Rieken
409041b7ff dedupe workspace symbols results 2021-11-16 14:07:03 +01:00
Johannes Rieken
7e24e6f4df Merge branch 'main' into joh/shortcut_fs 2021-11-16 10:20:45 +01:00
Tyler James Leonhardt
b256d9bc74 Initial cut of QuickPick separators (#137244)
* initial cut of QuickPick separators

* add proposed gate
2021-11-15 12:43:10 -08:00
Tyler Leonhardt
fb4f68f42c rename TransferQuickPickItems 2021-11-11 16:11:40 -08:00
Tyler Leonhardt
1423849df0 Revert "First cut of quick pick separators as kind. ref #74967"
This reverts commit a41001c482.
2021-11-10 17:48:09 -08:00
Tyler Leonhardt
a41001c482 First cut of quick pick separators as kind. ref #74967 2021-11-10 11:26:54 -08:00
Matt Bierner
286af306e8 Remove now unused ext host method 2021-11-09 18:21:15 -08:00
Matt Bierner
b2f8216d17 Removing more duplicate types 2021-11-09 16:55:34 -08:00
Matt Bierner
304dac2554 💄 2021-11-09 16:52:06 -08:00
Matt Bierner
6902a65a76 Align ext host name with internal name 2021-11-09 16:47:00 -08:00
Sandeep Somavarapu
ecf994ecfa - Use logger service to create output appender
- Unify output channels and services in ext host
- remove unused main output service methods
2021-11-08 21:15:31 +01:00
Sandeep Somavarapu
a1de3ce2a5 introduce logger service in ext host and use it to create log service 2021-11-08 17:46:50 +01:00
Sandeep Somavarapu
10c3fec7fb #132183 clean up
- Use FileOutputChannelModel for OutputChannelBackedByFile
- Rename replaceAll to replace
- simplify exthost output service and channel impl
- enhance update api
2021-11-08 14:47:27 +01:00
Johannes Rieken
e1612baf96 add shortcut between file system provider and consumer
When a file system is implemented and used within the same extension host we can short cut some calls, e.g skip going through the renderer and stay within the extension host
2021-11-08 12:05:48 +01:00
Sandeep Somavarapu
3afa5c6420 - Do not send replace content from ext host
- implement replaceAll in the model
- cancel all model update operations on replace request
- queue append operation after replace
- clean ups
2021-11-06 13:46:18 +01:00
Simon McEnlly
b64259260d Merge branch 'microsoft:main' into main 2021-11-03 15:43:49 +10:00
Simon McEnlly
0603dcd867 Add replaceAll method to OutputChannel to improve render flickering for extensions with minimal output contents; associated with https://github.com/microsoft/vscode/issues/132183 2021-11-03 15:35:53 +10:00
rebornix
38cef76ce7 fix #120680. 2021-11-01 18:10:42 -07:00
Megan Rogge
ac04bdd298 adopt onDidChangeProperty (#135785) 2021-10-29 14:00:10 -07:00
Don Jayamanne
48eb908fd6 Categorize kernels in the notebook kernel picker (#135502)
* Categorize kernels in the notebook kernel picker

* rename property

* address review comments

* more changes

* fix liner

* address review comments
2021-10-25 08:23:43 -07:00