Update eclipsejdt_lsp.md

This commit is contained in:
Sander Hautvast 2024-02-12 15:25:29 +01:00 committed by GitHub
parent 879747bb0e
commit 6c40eb9bbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,16 +13,20 @@ java -jar plugins/org.eclipse.equinox.launcher_1.6.700.v20231214-2017.jar \
```
\# -data needs local workspace
```
java -jar plugins/org.eclipse.equinox.launcher_1.6.700.v20231214-2017.jar \
-Declipse.application=org.eclipse.jdt.ls.core.id1 \
-Dosgi.bundles.defaultStartLevel=4 \
-Declipse.product=org.eclipse.jdt.ls.core.product \
-Dlog.level=ALL \
-Xmx1G \
--add-modules=ALL-SYSTEM \
--add-opens java.base/java.util=ALL-UNNAMED \
--add-opens java.base/java.lang=ALL-UNNAMED \
-configuration ./config_mac \
-data .
```rust
OsString::from("-jar"),
OsString::from("/../jdt-language-server-1.31.0-202401111522/plugins/org.eclipse.equinox.launcher_1.6.700.v20231214-2017.jar"),
OsString::from("-Declipse.application=org.eclipse.jdt.ls.core.id1"),
OsString::from("-Dosgi.bundles.defaultStartLevel=4"),
OsString::from("-Declipse.product=org.eclipse.jdt.ls.core.product"),
OsString::from("-Dlog.level=ALL"),
OsString::from("-Xmx1G"),
OsString::from("--add-modules=ALL-SYSTEM"),
OsString::from("--add-opens"),
OsString::from("java.base/java.util=ALL-UNNAMED"),
OsString::from("--add-opens java.base/java.lang=ALL-UNNAMED"),
OsString::from("-configuration"),
OsString::from("/../jdt-language-server-1.31.0-202401111522/config_mac_arm"),
OsString::from("-data"),
OsString::from("/Users/FJ19WK/Developer/SH/dbmaker"),
```