21 releases

Uses new Rust 2021

0.2.4 Nov 18, 2022
0.2.1 Oct 12, 2022
0.1.3 Jul 14, 2022
0.0.12 Mar 24, 2022
0.0.1 Oct 6, 2021

#1 in Text editors

20,497 stars & 135 watchers

61K SLoC


Lightning-fast And Powerful Code Editor

Lapce (IPA: /læps/) is written in pure Rust with a UI in Druid (which is also written in Rust). It is designed with Rope Science from the Xi-Editor which makes for lightning-fast computation, and leverages OpenGL for rendering. More information about the features of Lapce can be found on the main website and user documentation can be found on GitBook.


  • Built-in LSP (Language Server Protocol) support to give you intelligent code features such as: completion, diagnostics and code actions
  • Modal editing support as first class citizen (Vim-like, and toggleable)
  • Built-in remote development support inspired by VSCode Remote Development. Enjoy the benefits of a "local" experience, and seamlessly gain the full power of a 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.


Guidelines for contributing to Lapce can be found in CONTRIBUTING.md.


Arch Linux

There is an community package that can be installed with pacman:

sudo pacman -Syu lapce


sudo dnf copr enable titaniumtown/lapce
sudo dnf install lapce


Lapce is available as a flatpak here

flatpak install flathub dev.lapce.lapce


brew install lapce


scoop install lapce


You can find the packages here:

winget install lapce

Building from source

It is easy to build Lapce from source on a GNU/Linux distribution. Cargo handles the build process, all you need to do, is ensure the correct dependencies are installed.

  1. Install the Rust compiler and Cargo using rustup.rs. If you already have the toolchain, ensure you are using version 1.62 or higher.

  2. Install dependencies for your operating system:


sudo apt install cmake pkg-config libfontconfig-dev libgtk-3-dev


sudo dnf install gcc-c++ perl-FindBin perl-File-Compare gtk3-devel
  1. Clone this repository (this command will clone to your home directory):
git clone https://github.com/lapce/lapce.git ~/lapce
  1. cd into the repository, and run the build command with the release flag
cd ~/lapce
cargo build --release

If you use a different distribution, and are having trouble finding appropriate dependencies, let us know in an issue!

Once Lapce is compiled, the executable will be available in target/release/lapce.

Feedback & Contact

The most popular place for Lapce developers and users is on the Discord server.

Or, join the discussion on Reddit where we are just getting started.

There is also a Matrix Space, which is linked to the content from the Discord server.


Lapce is released under the Apache License Version 2, which is an open source license. You may contribute to this project, or use the code as you please as long as you adhere to its conditions. You can find a copy of the license text here: LICENSE.