This is an example extension showcasing how to write Zed extensions.
Based on the example extension Extensions: Slash Commands in the Zed Docs.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shgit clone https://github.com/rkaramc/markdown-toolbox.git
cd ./markdown-toolbox/- Open the command palette (
cmd-shift-porctrl-shift-p). - Launch
zed: install dev extension - Select the extension folder created above
- Open this README.md file
- Check that a diagnostic is displayed against the last row of the table below: "Table: 2 cols x 2 rows"
- Move cursor to the last row of the table below
- Press
ctrl-.to see available Code Actions: "Add row to table" and "Fix with Assistant" - Select "Add row to table": A new row is added
| Header 1 | Header 2 |
|---|---|
| Row 1 | Row 1 |
| Row 2 | Row 2 |
Rebuild to see these changes reflected:
- Open Zed Extensions (
cmd-shift-xorctrl-shift-x). - Click
Rebuildnext to "Markdown Toolbox"