[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5453":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},5453,"edit","microsoft\u002Fedit","microsoft","We all edit.","",null,"Rust",14310,698,81,136,0,33,134,5,95.03,"MIT License",false,"main",true,[26,27,28,29],"editor","rust","terminal","text-editor","2026-06-12 04:00:25","# ![Application Icon for Edit](.\u002Fassets\u002Fedit.svg) Edit\n\nA simple editor for simple needs.\n\nThis editor pays homage to the classic [MS-DOS Editor](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FMS-DOS_Editor), but with a modern interface and input controls similar to VS Code. The goal is to provide an accessible editor that even users largely unfamiliar with terminals can easily use.\n\n![Screenshot of Edit with the About dialog in the foreground](.\u002Fassets\u002Fedit_hero_image.png)\n\n## Installation\n\n[![Packaging status](https:\u002F\u002Frepology.org\u002Fbadge\u002Fvertical-allrepos\u002Fmicrosoft-edit.svg?exclude_unsupported=1)](https:\u002F\u002Frepology.org\u002Fproject\u002Fmicrosoft-edit\u002Fversions)\n\nYou can also download binaries from [our Releases page](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fedit\u002Freleases\u002Flatest).\n\n### Windows\n\nYou can install the latest version with WinGet:\n```powershell\nwinget install Microsoft.Edit\n```\n\n### Linux (build from source)\n\nIf your distribution does not provide binaries, or if you'd like to build your own, you can use our install script, provided you have installed:\n* Rust (via `rustup` or similar)\n* A C compiler (e.g. `gcc`)\n* ICU (e.g. libicu78, libicu, icu)\n* curl\u002Fwget and tar\n\nThe following command will then install `msedit` into `~\u002F.local\u002Fbin`:\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https:\u002F\u002Fraw.githubusercontent.com\u002Fmicrosoft\u002Fedit\u002Fmain\u002Fassets\u002Finstall.sh | sh\n```\n\nAdditional flags are `--dev`, to build directly from the main branch, and `--system` to install into `\u002Fusr\u002Flocal\u002Fbin`. For instance:\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https:\u002F\u002Fraw.githubusercontent.com\u002Fmicrosoft\u002Fedit\u002Fmain\u002Fassets\u002Finstall.sh | sh -s -- --dev --system\n```\n\n### macOS\n\nYou can install the latest version with Homebrew:\n```sh\nbrew install msedit\n```\n\n## Build Instructions\n\n* [Install Rust](https:\u002F\u002Fwww.rust-lang.org\u002Ftools\u002Finstall)\n* Clone the repository\n* If you're using nightly Rust:\n  ```sh\n  cargo build --release --config .cargo\u002Frelease.toml\n  ```\n* If you're using stable Rust:\n  * Ideally: Set the environment variable `RUSTC_BOOTSTRAP=1` and use the **nightly** build instructions above.\n    This is recommended, because it drastically reduces the binary size and slightly improves performance.\n  * Otherwise, simply run:\n    ```sh\n    cargo build --release\n    ```\n\n### Build Configuration\n\nYou can set the following environment variables at build-time to configure the build:\n\nEnvironment variable | Description\n--- | ---\n`EDIT_CFG_ICU*` | See [ICU library name (SONAME)](#icu-library-name-soname) below for details. Linux package maintainers are advised to review and configure these options.\n`EDIT_CFG_LANGUAGES` | A comma-separated list of languages to include in the build. See [i18n\u002Fedit.toml](i18n\u002Fedit.toml) for available languages.\n\n## Notes to Package Maintainers\n\n### Package Naming\n\nThe canonical executable name is \"edit\" and the alternative name is \"msedit\".\nWe're aware of the potential conflict of \"edit\" with existing commands and recommend alternatively naming packages and executables \"msedit\".\nNames such as \"ms-edit\" should be avoided.\nAssigning an \"edit\" alias is recommended, if possible.\n\n### ICU library name (SONAME)\n\nThis project optionally depends on the ICU library for its Search and Replace functionality.\n\nBy default, the project will look for the following library names:\n\n Variable | Windows | macOS | Linux \u002F Other\n----------|---------|-------|---------------\n`EDIT_CFG_ICUUC_SONAME` | `icuuc.dll` | `libicucore.dylib` | `libicuuc.so`\n`EDIT_CFG_ICUI18N_SONAME` | `icuin.dll` | `libicucore.dylib` | `libicui18n.so`\n\nIf your installation uses a different SONAME, please set the following environment variable at build time:\n* `EDIT_CFG_ICUUC_SONAME`:\n  For instance, `libicuuc.so.76`.\n* `EDIT_CFG_ICUI18N_SONAME`:\n  For instance, `libicui18n.so.76`.\n\nAdditionally, this project assumes that the ICU exports symbols without `_` prefix and without version suffix, such as `u_errorName`.\nIf your installation uses versioned exports, please set:\n* `EDIT_CFG_ICU_CPP_EXPORTS`:\n  If set to `true`, it'll look for C++ symbols such as `_u_errorName`.\n  Enabled by default on macOS.\n* `EDIT_CFG_ICU_RENAMING_VERSION`:\n  If set to a version number, such as `76`, it'll look for symbols such as `u_errorName_76`.\n\nFinally, you can set the following environment variables:\n* `EDIT_CFG_ICU_RENAMING_AUTO_DETECT`:\n  If set to `true`, the executable will try to detect the `EDIT_CFG_ICU_RENAMING_VERSION` value at runtime.\n  The way it does this is not officially supported by ICU and as such is not recommended to be relied upon.\n  Enabled by default on UNIX (excluding macOS) if no other options are set.\n\nTo test your build settings, run `cargo test` with the `--ignored` flag. For instance:\n```sh\ncargo test -- --ignored\n```\n","Edit 是一个为简单需求设计的文本编辑器。它致敬了经典的 MS-DOS 编辑器，但采用了现代化的界面和类似 VS Code 的输入控制方式，旨在提供一个即使是终端新手也能轻松使用的编辑工具。项目采用 Rust 语言编写，支持 Windows、Linux 和 macOS 平台，并且提供了详细的构建指南。Edit 适用于需要在终端环境中进行轻量级文本编辑的场景，特别适合那些寻找易用性高、功能简洁编辑器的用户。",2,"2026-06-11 03:03:26","top_language"]