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
> -`$PSES_BUNDLE_PATH` is the root of the PowerShellEditorServices.zip downloaded from the GitHub releases.
52
-
> -`$SESSION_TEMP_PATH` is the folder path that you'll use for this specific editor session.
49
+
The start script, `Start-EditorServices.ps1` is found in the `PowerShellEditorServices` folder instead the `PowerShellEditorServices.zip` downloaded from the GitHub releases.
53
50
54
-
If you are trying to automate the service in PowerShell, You can also run it under `Start-Process` to prevent hanging your script. It also gives you access to Process/PID automation features like `$process.Close()` or `$process.Kill()`
51
+
Alternatively, the `-Stdio` argument can be removed and the argument `-SessionDetailsPath ./session.json` added to produce a JSON file the client needs to point to in order to connect over a named pipe / socket.
52
+
The use stdio is the simplest way to connect with most LSP clients,
53
+
but may limit some features (such as the debugger and Extension Terminal).
54
+
55
+
Please see the [emacs-simple-test.el](test\emacs-simple-test.el),
56
+
[emacs-test.el](test\emacs-test.el),
57
+
[vim-simple-test.el](test\vim-simple-test.vim) and [vim-test.vim](test\vim-test.vim) for examples of end-to-end tested configurations.
58
+
59
+
If you are trying to automate the service in PowerShell, you can also run it under `Start-Process` to prevent hanging your script.
60
+
It also gives you access to Process/PID automation features like `$process.Close()` or `$process.Kill()`.
61
+
The script takes many more optional arguments, but they no longer _need_ to be specified.
0 commit comments