Commit Graph

38 Commits

Author SHA1 Message Date
Matt Bierner
cadabab73f Mark _serviceBrand properties using declare (#99312)
_serviceBrand is only used for typing and should not result in emit

Also adds readonly
2020-06-05 11:04:15 -07:00
Alex Dima
a7cd45f4bc Fixes #99339: Rename onStartup activation event to onStartupFinished 2020-06-04 14:37:18 +02:00
Alex Dima
827cbdd472 Fixes #98083: Add onStartup activation event 2020-06-01 23:04:13 +02:00
Connor Peet
773c398dfc api: implement extension mode api (#95926) (#97081) 2020-05-06 11:36:04 -07:00
Daniel Imms
af3c79edcb Move ExtensionContext.environmentVariableCollection to stable
Fixes #46696
2020-05-06 03:03:57 -07:00
Christof Marti
84fc970a24 Use search for filename when local with a remote (microsoft/vscode-remote-release#2869) 2020-04-29 21:58:28 +02:00
Daniel Imms
7f5bada046 Move EnvironmentVariableCollection API into ExtensionContext (#96061)
* Move env var collection to ext context

* Remove dispose, fix persistent passing

* Fire collection change on persistence change

* Fix tests by forcing activation and getting ctx

* chore: bump js-debug

Co-authored-by: Connor Peet <connor@peet.io>
2020-04-24 16:45:30 -07:00
Johannes Rieken
c139d3bf1e remove old proposal for https://github.com/microsoft/vscode/issues/90208 2020-04-15 10:04:56 +02:00
Johannes Rieken
80acfa923a make TenarySearchTree have generic key and value, implement for URI, touches on https://github.com/microsoft/vscode/issues/93368 2020-04-06 16:43:24 +02:00
Johannes Rieken
72c3bcefb3 expose extensionUri, https://github.com/microsoft/vscode/issues/90208 2020-03-04 11:20:18 +01:00
Martin Aeschlimann
4a0c7a9934 recommend resolver extension 2020-02-19 17:17:07 +01:00
Alex Dima
2f06f00edc Fixes #90785 2020-02-18 10:01:39 +01:00
Johannes Rieken
b4eb9933a4 add asExtensionUri-api proposal 2020-02-06 15:48:32 +01:00
Alex Ross
71570aa4e8 Add candidate port filtering to proposed API 2020-01-20 11:38:45 +01:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
Alex Ross
62a2317176 Option for hiding candidate ports 2020-01-07 17:13:45 +01:00
Alex Ross
db1c20eae7 Tunnel API renames 2019-12-18 16:24:04 +01:00
Alex Ross
92a83fb895 Allow extensions to provide a port forwarding implementation.
Part of #81388
2019-12-16 16:20:18 +01:00
Alex Ross
44cf9c9144 Make worker ExtHostTunnelService and remove dependency in ExtHostExtensionService 2019-12-13 09:07:01 +01:00
Alex Ross
e7dd2dda9b Implement tunnelInformation
Part of #81388
2019-12-11 12:23:30 +01:00
Alex Dima
acd7df1459 Use ILogService instead of console (#84283) 2019-11-21 10:14:31 +01:00
Alexandru Dima
fe9e05d8d7 Adopt ILogger.flush() (#80862) 2019-09-30 16:26:16 +02:00
Christof Marti
83c0e378d0 Serialize-friendly interface 2019-09-19 09:42:17 +02:00
Christof Marti
715b6c5792 Add extension id that triggered the activation event 2019-09-19 09:42:17 +02:00
Johannes Rieken
c842995673 debt - remove duplicated types 2019-09-02 11:41:03 +02:00
Johannes Rieken
86dce614df debt - remove old proposed API: vscode.ExtensionContext#executionContext 2019-09-02 11:41:03 +02:00
Johannes Rieken
dedf0de944 change type of _serviceBrand from any to undefined, #79918 2019-08-30 15:40:46 +02:00
Johannes Rieken
8f3b7dec4a debt - IExtensionDescription#main should be relative like all other file references 2019-08-14 16:02:01 +02:00
Johannes Rieken
5d22d7f74c create API instance per extension 2019-08-13 12:21:24 +02:00
Johannes Rieken
2700f41dab use desktop and web ext host logging service 2019-08-12 14:47:20 +02:00
Johannes Rieken
f1aa0929db adopt ext host service world, add dummy implementations for some services 2019-08-09 16:10:50 +02:00
Johannes Rieken
481d955239 no require.__$__nodeRequire in /common/-layer 2019-08-09 10:01:21 +02:00
Johannes Rieken
7a6f22b3af rename rpcService to extHostRpcService 2019-08-09 09:51:22 +02:00
Johannes Rieken
24b3d9479f $setRemoteEnvironment-implementation requires nodejs 2019-08-08 19:34:32 +02:00
Johannes Rieken
b8e2999394 move extHostMain to /common/, have base extension service in /common/ and extend in /node/ 2019-08-08 19:10:26 +02:00
Johannes Rieken
42b5eb3bf3 add ExtHostStorage to injector, rename 'createApiFactory' to 'createApiFactoryAndRegisterActors' 2019-08-08 15:08:10 +02:00
Johannes Rieken
66b499a016 register ExtHostExtensionService as singleton 2019-08-08 12:53:01 +02:00
Johannes Rieken
36135bd2ee add debug and extension service to injector 2019-08-07 21:20:51 +02:00