Johannes Rieken
15db136c3c
use Dto<T> util in more places, some clean-up/alignment of caching logic
2022-01-19 15:12:22 +01:00
Johannes Rieken
18ea5bd715
have one Dto-type, drop functions, move into proxyIdentifier-file
2022-01-18 18:24:05 +01:00
Johannes Rieken
393443eb40
Let IRPCProtocol#getProxy return Proxied<T> which enforces functions returning promises
...
fyi @sandy081 had to remove the overload of `MainThreadOutputServiceShape#$update` because I couldn't get this to work with mapped types
fyi @Tyriar this fixed an actual issue with terminals
2022-01-17 18:10:20 +01:00
Alex Dima
973684056e
Rename modes to languages
2021-12-30 18:52:15 +01:00
Ladislau Szomoru
85694fcf4d
Do not leak rpc proxies ( #139498 )
2021-12-20 11:50:49 +01:00
Johannes Rieken
9c6de0fb16
fix https://github.com/microsoft/vscode/issues/120898
2021-10-04 11:57:35 +02:00
Connor Peet
35bba41595
commands: allow transferring arraybuffers/uint8arrays over commands
2021-09-15 17:09:21 -07:00
Connor Peet
aac4d02082
make vscode.revealTestInExplorer an api command
2021-09-01 16:54:09 -07:00
Johannes Rieken
f50840e91b
add type hierarchy API test, fix conversion direction for arguments, also fix call hierarchy
2021-07-15 13:08:00 +02:00
Yan Zhang
8135848f77
add type hierarchy provider
...
Signed-off-by: Yan Zhang <yanzh@microsoft.com >
2021-07-15 11:48:28 +08:00
Johannes Rieken
3ff84bb549
automatically convert notebook range to its internal type, https://github.com/microsoft/vscode/issues/122877
2021-05-05 09:00:04 +02:00
Johannes Rieken
3c0970f6fc
unwrap the actual command id when a command that required indirection fails, fixes https://github.com/microsoft/vscode/issues/116932
2021-02-22 16:49:44 +01:00
Connor Peet
1ace7e3499
remove console.error on commands for noisy tests
...
See #113905
2021-01-06 08:57:30 -08:00
Armin Ronacher
8fc5e370f6
Fix a typo in a log message in extHostCommands.ts
2021-01-03 00:55:10 +01:00
Connor Peet
3ba967fd7e
ext: log errors running contributed commands to the console for debugger vis
2020-12-14 10:39:28 -08:00
Johannes Rieken
8f9aeb83da
fix invalid command converter behaviour
2020-11-16 11:39:17 +01:00
Johannes Rieken
2b06004f0d
💄
2020-11-16 11:31:56 +01:00
Johannes Rieken
f3efe70c9a
don't attempt to convert API types inside the renderer, break up mainThread-api arguments (and plan future removal)
2020-11-13 16:00:17 +01:00
Johannes Rieken
2ac7284762
add api argument stubs for strings and numbers
2020-11-13 13:55:01 +01:00
Johannes Rieken
63ac48bf6d
debt - move api command things into extHostCommand so that they can be contributed from anywhere
2020-11-13 12:56:20 +01:00
Johannes Rieken
01dd9f0307
💄
2020-11-13 12:49:25 +01:00
Johannes Rieken
6a8fe0a8da
let CommandsConverter actually convert commands, make sure "magic" commands handle uri components
2020-11-11 18:14:49 +01:00
ChaseKnowlden
e8760a5d6c
Fix capitalization of GitHub org
2020-09-17 11:43:03 +02:00
Johannes Rieken
600d8a51cb
tweak workspace edit dto and handling https://github.com/microsoft/vscode/issues/105283
2020-08-26 18:31:16 +02:00
Johannes Rieken
28cb90be8c
chore - ES6, use for-of instead of forEach
2020-06-12 16:20:23 +02:00
Matt Bierner
fb622a8b83
Move code action documentation contribution point to come from metadata
...
For #86788
2020-02-11 11:36:23 -08: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
Johannes Rieken
ca2acdc8b6
add logging for convertered commands #84153
2019-11-08 10:23:12 +01:00
Benjamin Pasero
d0b67392e7
debt - getWindows is electron only
2019-09-25 09:35:28 +02:00
Johannes Rieken
cf88c7f310
retry command exec when having arguments, when contributes, and not yet activated, #80338
2019-09-13 08:50:12 +02:00
Johannes Rieken
dedf0de944
change type of _serviceBrand from any to undefined, #79918
2019-08-30 15:40:46 +02:00
Johannes Rieken
21de711cdf
remove proposed API vscode.commands.onDidExecuteCommand
2019-08-15 15:24:40 +02:00
Johannes Rieken
7a6f22b3af
rename rpcService to extHostRpcService
2019-08-09 09:51:22 +02:00
Johannes Rieken
2420d4c505
separate rpc and init data into separate services
2019-08-07 19:51:28 +02:00
Johannes Rieken
ebd96071d1
make extHost-things services, setup injector
2019-08-07 16:11:00 +02:00
Johannes Rieken
32da48e7a0
consistent dto namings
2019-08-05 16:50:13 +02:00
Johannes Rieken
350a197975
fix #78274
2019-07-31 16:03:33 +02:00
Johannes Rieken
f8f0e03ea5
tweak name for internal delegation command
2019-07-25 11:28:36 +02:00
Johannes Rieken
b35a0eea42
filter commands that start with an underscore, #1431
2019-07-25 11:28:36 +02:00
Johannes Rieken
b4e3cf3332
revive command args using the arg processor logic, #1431
2019-07-24 15:20:24 +02:00
Johannes Rieken
7beb32099e
Merge branch 'master' into command-execute-events
2019-06-28 17:06:31 +02:00
Johannes Rieken
c8843e3b0d
final touch at heap service removal, #74846
2019-06-19 10:58:24 +02:00
Johannes Rieken
cb865f934a
remove extHostHeapService, use normal cache in commands converter, #74846
2019-06-14 13:02:18 +02:00
Johannes Rieken
35643d80e0
add lifecycle to code lens, #74846
2019-06-05 08:52:31 +02:00
Johannes Rieken
fa406d2dd1
tiny tweaks
2019-05-16 09:51:30 -07:00
Harry Hedger
ab7694754b
renamed listeners to registerCommandListener and unregisterCommandListener
2019-05-05 02:07:01 -07:00
Harry Hedger
62f2b712f0
Removed disposeListeners from commandService and only remove listener on MainThreadCommands
2019-05-05 02:07:01 -07:00
Harry Hedger
43e0b18c5b
removed public
2019-05-05 02:07:01 -07:00
Harry Hedger
b9c3c20a75
Made recommended changes
2019-05-05 02:07:01 -07:00
Harry Hedger
8755a2aa35
Implemented onDidExecuteCommand api method
2019-05-05 02:07:01 -07:00