lapce/README.md

2.7 KiB


Lapce

Lightning-fast and Powerful Code Editor written in Rust


Lapce is written in pure Rust, with the UI in Druid. It uses Xi-Editor's Rope Science for text editing, and the Wgpu Graphics API for rendering. More information can be found on the website.

Features

  • Modal Editing (Vim like) support as first class citizen (can be turned off as well)
  • Built-in LSP (Language Server Protocol) support to give you code intelligence like code completion, diagnostics and code actions etc.
  • Built-in remote development support (inspired by VSCode Remote Development) for a seamless "local" experience, benefiting from the full power of the remote system.
  • Plugins can be written in programming languages that can compile to the WASI format (C, Rust, AssemblyScript)
  • Built-in terminal, so you can execute commands in your workspace, without leaving Lapce.

Contributing

The guidelines about contributing to Lapce can be found in CONTRIBUTING.md.

Build from source

Install the Rust compiler with rustup

  1. Install rustup.rs.

Dependencies

Ubuntu

sudo apt install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3

Building

cargo build --release

The compiled executable will be available at target/release/lapce

Feedback