docs: make Chinese README the default
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
<!-- WEHUB_ZH_README -->
|
||||
> [!NOTE]
|
||||
> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。
|
||||
> [English](./README.en.md) · [原始项目](https://github.com/lapce/lapce) · [上游 README](https://github.com/lapce/lapce/blob/HEAD/README.md)
|
||||
> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。
|
||||
|
||||
<h1 align="center">
|
||||
<a href="https://lapce.dev" target="_blank">
|
||||
<img src="extra/images/logo.png" width=200 height=200/><br>
|
||||
@@ -5,7 +11,7 @@
|
||||
</a>
|
||||
</h1>
|
||||
|
||||
<h4 align="center">Lightning-fast And Powerful Code Editor</h4>
|
||||
<h4 align="center">闪电般快速且强大的代码编辑器</h4>
|
||||
|
||||
<div align="center">
|
||||
<a href="https://github.com/lapce/lapce/actions/workflows/ci.yml" target="_blank">
|
||||
@@ -21,41 +27,41 @@
|
||||
<br/>
|
||||
|
||||
|
||||
Lapce (IPA: /læps/) is written in pure Rust, with a UI in [Floem](https://github.com/lapce/floem). It is designed with [Rope Science](https://xi-editor.io/docs/rope_science_00.html) from the [Xi-Editor](https://github.com/xi-editor/xi-editor), enabling lightning-fast computation, and leverages [wgpu](https://github.com/gfx-rs/wgpu) for rendering. More information about the features of Lapce can be found on the [main website](https://lapce.dev) and user documentation can be found on [GitBook](https://docs.lapce.dev/).
|
||||
Lapce(IPA:/læps/)完全使用 Rust 编写,UI 基于 [Floem](https://github.com/lapce/floem). 设计采用来自 [Xi-Editor](https://github.com/xi-editor/xi-editor), 的 [Rope Science](https://xi-editor.io/docs/rope_science_00.html),实现闪电般快速的计算,并借助 [wgpu](https://github.com/gfx-rs/wgpu) 进行渲染。有关 Lapce 功能的更多信息请参阅[主站](https://lapce.dev),用户文档请参阅 [GitBook](https://docs.lapce.dev/).
|
||||
|
||||

|
||||
|
||||
## Features
|
||||
## 功能特性
|
||||
|
||||
* Built-in LSP ([Language Server Protocol](https://microsoft.github.io/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](https://code.visualstudio.com/docs/remote/remote-overview). Enjoy the benefits of a "local" experience, and seamlessly gain the full power of a remote system. We also have [Lapdev](https://lap.dev/) which can help manage your remote dev environments.
|
||||
* Plugins can be written in programming languages that can compile to the [WASI](https://wasi.dev/) format (C, Rust, [AssemblyScript](https://www.assemblyscript.org/))
|
||||
* Built-in terminal, so you can execute commands in your workspace, without leaving Lapce.
|
||||
* 内置 LSP([Language Server Protocol](https://microsoft.github.io/language-server-protocol/)) 支持,为你提供智能代码功能,例如:补全、诊断和代码操作
|
||||
* 一等公民的模态编辑支持(类 Vim,可切换)
|
||||
* 内置远程开发支持,灵感来自 [VSCode Remote Development](https://code.visualstudio.com/docs/remote/remote-overview). 享受「本地」体验的优势,并无缝获得远程系统的全部能力。我们还提供 [Lapdev](https://lap.dev/),可帮助你管理远程开发环境。
|
||||
* 插件可使用能编译为 [WASI](https://wasi.dev/) 格式的编程语言编写(C、Rust、[AssemblyScript](https://www.assemblyscript.org/))
|
||||
* 内置终端,让你无需离开 Lapce 即可在工作区中执行命令。
|
||||
|
||||
## Installation
|
||||
## 安装
|
||||
|
||||
You can find pre-built releases for Windows, Linux and macOS [here](https://github.com/lapce/lapce/releases), or [installing with a package manager](docs/installing-with-package-manager.md).
|
||||
If you'd like to compile from source, you can find the [guide](docs/building-from-source.md).
|
||||
你可以在[此处](https://github.com/lapce/lapce/releases), 找到适用于 Windows、Linux 和 macOS 的预编译版本,或通过[包管理器安装](docs/installing-with-package-manager.md)。
|
||||
若要从源码编译,请参阅[指南](docs/building-from-source.md)。
|
||||
|
||||
## Contributing
|
||||
## 参与贡献
|
||||
|
||||
<a href="https://ws.lap.dev/#https://github.com/lapce/lapce" target="_blank">
|
||||
<img src="https://lap.dev/images/open-in-lapdev.svg?version=8" alt="Open in Lapdev">
|
||||
<img src="https://lap.dev/images/open-in-lapdev.svg?version=8" alt="在 Lapdev 中打开">
|
||||
</a>
|
||||
|
||||
[Lapdev](https://lap.dev/), developed by the Lapce team, is a cloud dev env service similar to GitHub Codespaces. By clicking the button above, you'll be taken to a fully set up Lapce dev env where you can browse the code and start developing. All dependencies are pre-installed, so you can get straight to code.
|
||||
由 Lapce 团队开发的 [Lapdev](https://lap.dev/), 是一项类似 GitHub Codespaces 的云开发环境服务。点击上方按钮,你将进入一个完整配置好的 Lapce 开发环境,可以浏览代码并开始开发。所有依赖均已预装,你可以直接开始编码。
|
||||
|
||||
Guidelines for contributing to Lapce can be found in [`CONTRIBUTING.md`](CONTRIBUTING.md).
|
||||
参与 Lapce 贡献的指南请参阅 [`CONTRIBUTING.md`](CONTRIBUTING.md)。
|
||||
|
||||
## Feedback & Contact
|
||||
## 反馈与联系
|
||||
|
||||
The most popular place for Lapce developers and users is on the [Discord server](https://discord.gg/n8tGJ6Rn6D).
|
||||
Lapce 开发者和用户最常聚集的地方是 [Discord 服务器](https://discord.gg/n8tGJ6Rn6D).
|
||||
|
||||
Or, join the discussion on [Reddit](https://www.reddit.com/r/lapce/) where we are just getting started.
|
||||
也可以在 [Reddit](https://www.reddit.com/r/lapce/) 加入讨论,我们刚刚起步。
|
||||
|
||||
There is also a [Matrix Space](https://matrix.to/#/#lapce-editor:matrix.org), which is linked to the content from the Discord server.
|
||||
还有一个 [Matrix Space](https://matrix.to/#/#lapce-editor:matrix.org),,与 Discord 服务器的内容互通。
|
||||
|
||||
## License
|
||||
## 许可证
|
||||
|
||||
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`](LICENSE).
|
||||
Lapce 在 Apache License Version 2 下发布,这是一份开源许可证。只要遵守其条款,你可以为该项目做出贡献,或按你的意愿使用该代码。许可证全文见:[`LICENSE`](LICENSE)。
|
||||
|
||||
Reference in New Issue
Block a user