Skip to content

Development

lothran edited this page Apr 23, 2023 · 2 revisions

The Sever

Requirements

  • Rust
  • C++17 compiler

Building

cargo build

Run/Debug

Currently debugging is done via the vscode extension. Add the server binary build by cargo as the uvls path in the vscode settings. Logs and panics are written to /tmp/UVLS.log. For step-by-step debugging, you can attach rust-gdb to the server via rust-gdb -p $(pidof uvls).

VSCode extension

Requirements

  • npm
  • nodejs

Setup

run npm install inside the 'editors/vscode' directory

Debug/Run

Open the directory with vscode and press f5 or run the debug task.

Clone this wiki locally