mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.5 KiB
1.5 KiB
Setup of tested language servers
JavaScript with Flow static type checker
- Prerequisites:
- Node.js
- Recommended:
Install language server, and create executable to enable server in juCi++:
npm install -g flow-bin
echo '#!/bin/bash
flow lsp' > /usr/local/bin/javascript-language-server
chmod 755 /usr/local/bin/javascript-language-server
- Additional setup within a JavaScript project:
- Add a
.prettierrcfile to enable style format on save
- Add a
Python3
- Prerequisites:
- Python3
- In juCi++ preferences, set
project.python_commandtoPYTHONUNBUFFERED=1 python3
Install language server, and create symbolic link to enable server in juCi++:
pip3 install python-language-server[rope,pycodestyle,yapf]
ln -s `which pyls` /usr/local/bin/python-language-server
- Additional setup within a Python project:
- Add a setup file, for instance:
printf '[pycodestyle]\nmax-line-length = 120\n\n[yapf]\nCOLUMN_LIMIT = 120\n' > setup.cfg - Add an empty
.python-formatfile to enable style format on save
- Add a setup file, for instance:
Rust
- Prerequisites:
- Rust
Install language server, and create symbolic link to enable server in juCi++:
rustup update
rustup component add rls rust-analysis rust-src
ln -s `rustc --print sysroot`/bin/rls /usr/local/bin/rust-language-server
- Additional setup within a Rust project:
- Add an empty
.rust-formatfile to enable style format on save
- Add an empty