Skip to content

jm-observer/cozy-lapce

Repository files navigation

Cozy Lapce

Cozy Lapce is a lightweight fork of Lapce, aiming to maintain and streamline this excellent code editor.

During development, the editor’s core was substantially refactored to fix various bugs and experiment with a more suitable architecture. As this has been a learning-by-doing process, the implementation gradually diverged from the original project in both design philosophy and technical details.

With the original author's consent, this new repository was created as an independent effort to better support future development and long-term maintenance.

📘 中文版说明请见:README.zh-CN.md

Cozy Lapce Main Interface

Differences from Lapce

  • No Modal Editing: Modal (Vim-style) editing is not supported, as the author doesn't use or maintain it
  • Windows And Linux Only: Currently only tested and used on Windows and Linux; macOS are unverified
  • Theme Simplified: Original themes like Lapce Light/Dark are no longer maintained. Only jb-light is actively used
  • Mouse Enhancements: Many UI operations are now accessible via mouse (e.g., right-click menus, tabs)
  • Code Folding Added: Editor supports foldable regions (functions, structs, etc.) with persistent state
  • Under-the-Hood Optimizations:
    • Removed multi-threading, replaced with async/await
    • Avoid large memory copies
    • More fine-grained configuration options
  • Rust-First Development: Recommended extensions include [Rust (by dzhou121)] and Crates. Support for other languages is not yet verified
  • Debugging is only supported on Windows: To enable debugging features such as breakpoints, step execution, and variable inspection, install the lldb-win plugin. Once installed, the editor will use the lldb backend to provide full debugging capabilities on Windows.

📘 Usage Guide

For more details on how to get the most out of Cozy Lapce,
please see the Usage Guide.

Covers setup tips, shortcuts, debugging configuration, theme customization, and more!

For more details on developing of Cozy Lapce, please see the DEVELOPING Guide.

Roadmap

  • 🤖 AI Assistance: Exploring the possibility of AI-powered code completions, inline suggestions, chat-based refactoring, etc.

Contribute to Cozy Lapce

Cozy Lapce started as a personal editor for everyday use — but we’d love for it to grow with help from the community!

You’re warmly welcome to contribute in any of the following ways:

🧑‍💻 Cross-platform support – Help test or adapt Cozy Lapce for Linux and macOS

🎨 UI / Theme improvements – Refine the look & feel, design better themes

🐞 Fix bugs & enhance features – Submit pull requests or open issues

🧪 AI – Join efforts in building AI-assisted tools

💡 Have a better idea? Share your thoughts or suggestions — we're listening!

Open an issue, or submit a PR anytime!


🙏 Acknowledgement

This project is built on top of Lapce. Huge thanks to the original authors and the open-source community for their amazing work.


About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages