You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add nonce for security
* Initial working file-based RPC
* minor fix
* Minor cleanup
* more docs
* minor
* Update README
* tweak
* Address PR comments
* More PR
* More fixes
* Windows fixes
* Switch to userinfo in getCommuncationDir
* Minor cleanup
Allows user to specify the allowed commands using glob syntax, eg:
60
+
61
+
```json
62
+
{
63
+
"command-server.allowList": ["workbench.*"]
64
+
}
60
65
```
61
66
62
-
## Troubleshooting
67
+
Defaults to `["*"]` (allows everything).
68
+
69
+
### `command-server.denyList`
70
+
Allows user to specify the denied commands using glob syntax, eg:
63
71
64
-
If you're running into issues with commands interleaving with keystrokes, or the extension not responding, the server supports a command `command-server.writePort`, which will cause the extension to update the port and write a monotonically increasing counter variable to the port file. You can run this command (via keyboard shortcut) and then wait for the file to update to ensure you're talking to the right vscode instance and to ensure that the command will not interleave with other keyboard shortcuts issued to VSCode.
65
-
66
-
Here's some example code for this mode of operation. Note that this assumes
67
-
that you have a function `actions.key` that presses the given key (eg
0 commit comments