From 352e5db838197bbb4149e5f987b20eed133f4c2d Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Mon, 23 Feb 2026 19:19:14 +0100 Subject: [PATCH] Update README with single-threaded JetLS example Added example for launching JetLS single-threaded in README. --- jetls-client/README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/jetls-client/README.md b/jetls-client/README.md index 1e9b69548..43a9c715c 100644 --- a/jetls-client/README.md +++ b/jetls-client/README.md @@ -78,7 +78,9 @@ The extension will automatically use the `jetls` executable from your `PATH`. ## Launching configuration (advanced) Most users do not need any further configuration beyond the installation steps -above. The following settings are available for advanced use cases. +above. The following settings are available for advanced use cases. For example, if you are +using plotting libraries like GLMakie or PyPlot, you have to run JETLS single-threaded +using the configuration shown below. ### Executable configuration @@ -89,6 +91,17 @@ Configure the JETLS executable through the `jetls-client.executable` setting: - **Array form** `string[]`: Use a local JETLS checkout for development, e.g, (`["julia", "--startup-file=no", "--history-file=no", "--project=/path/to/JETLS", "-m", "JETLS", "serve"]`) +Example for launching JetLS single-threaded: +```json +{ + "jetls-client.executable": { + "path": "jetls", + "threads": "1,0" + } +} +``` +Save this in the `settings.json` file in the `.vscode` folder of your project. + ### Communication channel The extension automatically selects the most appropriate communication channel