Repository navigation
Replies: 1 comment
Hi @dracxi, I got Java autocompletion working in Acode. The Termux version of the server does work. The default Acode LSP (Alpine APK setup) gave me many errors. What worked was the LSP Client plugin by Jobians (https://acode.app/plugin/jobians.lsp.client). It talks to language servers through a WebSocket → LSP bridge that runs in Termux. 1. Install the required packages in Termux pkg update && pkg install -y openjdk-21 python wget tar nodejs2. Install JDTLS mkdir -p ~/.local/share/jdtls
wget -O ~/jdt.tar.gz https://download.eclipse.org/jdtls/milestones/1.61.0/jdt-language-server-1.61.0-202609031315.tar.gz
tar -xzf ~/jdt.tar.gz -C ~/.local/share/jdtls
rm ~/jdt.tar.gz
echo 'export PATH="$HOME/.local/share/jdtls/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
jdtls --helpIf 3. Install and start the bridge (Termux) npm install -g ws-lsp-bridge
wslspKeep it running while you use Acode. 4. Set up the plugin in Acode
5. Raise the timeout The default timeout is 5000 ms, which is too short. JDTLS takes a long time to answer
|


Uh oh!
There was an error while loading. Please reload this page.
I tried java language client plugin
And then custom language server
Both doesn't work like 0 auto completion
I don't need heavy development environment just working auto completion and formatter
I don't know if termux version of language server will work but I don't want to use that as the new built in lsp is cool
All reactions