List Converter is a Zed extension that adds code actions for converting selected text into Markdown-style lists in Markdown and Plain Text buffers.
- Markdown and Plain Text only
- Code actions for the current selection
- Unordered and numbered list conversion
Select one or more lines, then open code actions in Zed and choose one of these actions:
Convert to unordered listConvert to numbered list
For example, selecting this text:
apples
bananas
carrots
and choosing Convert to numbered list rewrites it as:
1. apples
2. bananas
3. carrots
The rewrite works in unsaved buffers because the language server operates on the in-memory document contents it receives from Zed.
-
Install the language server binary on your
PATH:cargo install --path language-server
-
Install this repository as a dev extension in Zed with
zed: install dev extension. -
Open Zed from a terminal with
zed --foregroundif you want extension logs.
cargo check -p list-converter
cargo test -p list-language-server- Add support for checkbox/task-list conversion
- Add packaging or download logic for the language server binary
- Expand test coverage around list rewriting edge cases