microsoft / edit
- понедельник, 23 июня 2025 г. в 00:00:02
We all edit.
A simple editor for simple needs.
This editor pays homage to the classic MS-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.
You can also download binaries from our Releases page.
You can install the latest version with WinGet:
winget install Microsoft.Edit
rustup install nightly
RUSTC_BOOTSTRAP=1
cargo build --config .cargo/release.toml --release
The canonical executable name is "edit" and the alternative name is "msedit". We're aware of the potential conflict of "edit" with existing commands and recommend alternatively naming packages and executables "msedit". Names such as "ms-edit" should be avoided. Assigning an "edit" alias is recommended, if possible.
This project optionally depends on the ICU library for its Search and Replace functionality. By default, the project will look for a SONAME without version suffix:
icuuc.dll
libicuuc.dylib
libicuuc.so
If your installation uses a different SONAME, please set the following environment variable at build time:
EDIT_CFG_ICUUC_SONAME
:
For instance, libicuuc.so.76
.EDIT_CFG_ICUI18N_SONAME
:
For instance, libicui18n.so.76
.Additionally, this project assumes that the ICU exports are exported without _
prefix and without version suffix, such as u_errorName
.
If your installation uses versioned exports, please set:
EDIT_CFG_ICU_CPP_EXPORTS
:
If set to true
, it'll look for C++ symbols such as _u_errorName
.
Enabled by default on macOS.EDIT_CFG_ICU_RENAMING_VERSION
:
If set to a version number, such as 76
, it'll look for symbols such as u_errorName_76
.Finally, you can set the following environment variables:
EDIT_CFG_ICU_RENAMING_AUTO_DETECT
:
If set to true
, the executable will try to detect the EDIT_CFG_ICU_RENAMING_VERSION
value at runtime.
The way it does this is not officially supported by ICU and as such is not recommended to be relied upon.
Enabled by default on UNIX (excluding macOS) if no other options are set.To test your settings, run cargo test
again but with the --ignored
flag. For instance:
cargo test -- --ignored