mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
22 lines
740 B
Batchfile
22 lines
740 B
Batchfile
@echo off
|
|
|
|
curl -LO "https://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz"
|
|
curl -o lombok.jar "https://projectlombok.org/downloads/lombok.jar"
|
|
tar xvf jdt-language-server-latest.tar.gz
|
|
del jdt-language-server-latest.tar.gz
|
|
|
|
echo @echo off ^
|
|
|
|
setlocal enabledelayedexpansion ^
|
|
|
|
for %%%%F in (%%~dp0\plugins\org.eclipse.equinox.launcher_*.jar) do ( ^
|
|
|
|
set launcher=%%%%F ^
|
|
|
|
) ^
|
|
|
|
java -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Dlog.protocol=true -Dlog.level=ALL -noverify -Xmx1G -javaagent:%%~dp0/lombok.jar -jar !launcher! -configuration %%~dp0\config_win -data %%~dp0\data ^
|
|
|
|
> eclipse-jdt-ls.cmd
|
|
|