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
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,9 @@ Creates an http server listening for commands.
4
4
5
5
## Features
6
6
7
-
On startup, spawns an http server listening for commands. The port of the server for the active editor is written to a file named `vscode-port` in the operating system's default directory for temporary files.
7
+
On startup, spawns an http server listening for commands to execute. The port
8
+
of the server for the active editor is written to a file named `vscode-port` in
9
+
the operating system's default directory for temporary files.
8
10
9
11
Accepts requests of the form:
10
12
@@ -19,6 +21,10 @@ POST /execute-command HTTP/1.1
19
21
}
20
22
```
21
23
22
-
Upon receiving the above, this extension would run the command `some-command-id` with argument `"some-argument"`.
24
+
Upon receiving the above, this extension would run the command
25
+
`some-command-id` with argument `"some-argument"`.
26
+
27
+
Note that the server is bound to `localhost`, so it will only accept commands
28
+
from processes running on the same host as VSCode.
0 commit comments