zed/docs/src
kai-xlr badd2157d6
docs: Fix WSL action name in remote development guide (#61073)
# Objective

Fixes #60922

The remote development documentation references action names as
hardcoded strings (`projects: open in wsl`, `projects: open wsl`). These
can drift out of sync with the actual action definitions in code and
don't benefit from the docs preprocessor's auto-rendering.

## Solution

Replaced hardcoded action name strings with the `{#action ...}`
preprocessor template syntax in `docs/src/remote-development.md`:

- `{#action projects::OpenFolderInWsl}` for "Opening a local folder in
WSL"
- `{#action projects::OpenWsl}` for "Opening a folder already in WSL"

This ensures the docs auto-resolve the human-readable action name from
the code definition, preventing future drift.

## Testing

- Verified the `{#action ...}` syntax is documented in
`docs/README.md:78-82` and implemented in
`crates/docs_preprocessor/src/main.rs`.
- Reviewed the action definitions in `crates/zed_actions/src/lib.rs:843`
(`OpenFolderInWsl`) and `lib.rs:852` (`OpenWsl`) to confirm correct
namespace and struct names.
- No code changes, docs only — no build or test required.

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

## Showcase

N/A — documentation-only change.

---

Release Notes:

- N/A

---------

Co-authored-by: MrSubidubi <finn@zed.dev>
Co-authored-by: Finn Evers <finn.evers@outlook.de>
2026-08-19 16:04:12 +00:00
..
account Document Claude Opus 5 hosted model pricing (#62450) 2026-08-10 19:32:44 +00:00
ai agent: OpenCode model updates (+6 Go, +7/-1 Zen, removed Free) (#61199) 2026-08-19 11:07:38 +00:00
business Update Zed-hosted model documentation (#60771) 2026-07-10 23:24:52 +00:00
collaboration docs: Update actions format (#54869) 2026-05-07 06:55:11 +00:00
development Remove stale musl linker error workaround from Linux dev docs (#61444) 2026-07-22 10:04:12 +00:00
extensions docs: Split up extension publishing documentation (#62312) 2026-08-13 21:02:09 +00:00
languages python: Support nested analysis settings for Pyright and basedpyright (#62673) 2026-08-19 15:56:19 +00:00
migrate JetBrains keymap: Add CamelHump subword navigation (#51540) 2026-08-14 12:31:48 +00:00
reference Fix the git_gutter_width setting (#62704) 2026-08-18 12:40:18 +00:00
all-actions.md docs: Apply documentation standards across all docs (#49177) 2026-02-17 20:58:17 -06:00
appearance.md docs: Add missing font fallback documentation (#55779) 2026-07-30 12:51:08 +00:00
authentication.md Fix typos and grammatical mistakes in docs (#59495) 2026-07-08 12:32:00 +00:00
command-palette.md Fix typos and grammatical mistakes in docs (#59495) 2026-07-08 12:32:00 +00:00
completions.md Remove Supermaven-related code from Zed (#50537) 2026-03-02 22:18:49 +00:00
configuring-languages.md Adjust language docs (#62551) 2026-08-13 10:22:47 +00:00
configuring-zed.md Restructure AI docs (#57614) 2026-06-04 15:55:21 +00:00
debugger.md Fix typos and grammatical mistakes in docs (#59495) 2026-07-08 12:32:00 +00:00
dev-containers.md dev_container: Support the classic Docker builder via a setting (#59288) 2026-06-15 07:04:03 +00:00
development.md Improve documentation for ETW profiling (#50426) 2026-02-28 23:03:49 -05:00
diagnostics.md Fix typos and grammatical mistakes in docs (#59495) 2026-07-08 12:32:00 +00:00
editing-code.md docs: SEO content improvements for AI section (#49128) 2026-02-13 13:05:57 -08:00
environment.md Fix typos and grammatical mistakes in docs (#59495) 2026-07-08 12:32:00 +00:00
extensions.md docs: Split up extension publishing documentation (#62312) 2026-08-13 21:02:09 +00:00
finding-navigating.md docs: Add new text finder (#60189) 2026-07-03 18:46:05 +00:00
getting-started.md Fixes for AI docs (#58969) 2026-06-11 15:15:55 +00:00
git.md Added Tracked , Staged options to stash (#62254) 2026-08-18 05:36:16 +00:00
globs.md Fix grammatical errors throughout the documentation (#58183) 2026-05-31 22:05:41 +00:00
helix.md docs: Apply documentation standards across all docs (#49177) 2026-02-17 20:58:17 -06:00
icon-themes.md docs: Update actions format (#54869) 2026-05-07 06:55:11 +00:00
installation.md Fix grammatical errors throughout the documentation (#58183) 2026-05-31 22:05:41 +00:00
key-bindings.md JetBrains keymap: Add CamelHump subword navigation (#51540) 2026-08-14 12:31:48 +00:00
languages.md Fix grammatical errors throughout the documentation (#58183) 2026-05-31 22:05:41 +00:00
linux.md Remove the 3rd party section (#61087) 2026-07-16 07:51:58 +00:00
macos.md install_cli: Show notification instead of failing CLI install (#59575) 2026-06-22 18:20:57 +00:00
modelines.md Add vim/emacs modeline support (#49267) 2026-03-25 03:15:51 +00:00
multibuffers.md Fix grammatical errors throughout the documentation (#58183) 2026-05-31 22:05:41 +00:00
outline-panel.md docs: Update actions format (#54869) 2026-05-07 06:55:11 +00:00
performance.md Fix typos and grammatical mistakes in docs (#59495) 2026-07-08 12:32:00 +00:00
project-panel.md Make file scanner less eager in non-git-tracked directory trees (#62583) 2026-08-13 17:07:06 +00:00
quick-start.md docs: Reorganize introduction (#41387) 2025-10-28 17:39:40 -03:00
remote-development.md docs: Fix WSL action name in remote development guide (#61073) 2026-08-19 16:04:12 +00:00
repl.md docs: Add note about toolchain selection for Python REPL (#60549) 2026-07-30 03:19:59 +00:00
roles.md Document Billing Manager role (#58447) 2026-06-03 18:17:18 +00:00
running-testing.md docs: Apply documentation standards across all docs (#49177) 2026-02-17 20:58:17 -06:00
semantic-tokens.md docs: Update actions format (#54869) 2026-05-07 06:55:11 +00:00
snippets.md snippets: Strip path separators from language snippet file names (#61421) 2026-07-23 04:49:39 +00:00
soc2.md docs: Restructure nav and add Zed Business section (#51915) 2026-05-06 16:07:12 +00:00
SUMMARY.md docs: Split up extension publishing documentation (#62312) 2026-08-13 21:02:09 +00:00
tab-switcher.md docs: Apply documentation standards across all docs (#49177) 2026-02-17 20:58:17 -06:00
tasks.md git_ui: Pass the clicked ref to git graph custom commands (#58781) 2026-06-09 06:30:07 +00:00
telemetry.md docs: Fix stale panic struct reference in telemetry docs (#61145) 2026-07-21 06:01:42 +00:00
terminal.md terminal: Open links with Cmd/Ctrl-click when mouse mode is enabled (#60067) 2026-07-08 12:41:48 +00:00
themes.md docs: Update actions format (#54869) 2026-05-07 06:55:11 +00:00
toolchains.md docs: Apply documentation standards across all docs (#49177) 2026-02-17 20:58:17 -06:00
troubleshooting.md feedback: Add action for listing installed extensions (#48664) 2026-04-16 07:45:38 +00:00
uninstall.md docs: Update guide to remove user data on macOS when uninstalling Zed (#52631) 2026-03-31 05:35:04 +00:00
update.md docs: Update actions format (#54869) 2026-05-07 06:55:11 +00:00
vim.md Fix typos and grammatical mistakes in docs (#59495) 2026-07-08 12:32:00 +00:00
visual-customization.md docs: Fix mismatch of default dock position setting in project panel (#61971) 2026-07-31 07:38:17 +00:00
windows-and-projects.md Fixes for AI docs (#58969) 2026-06-11 15:15:55 +00:00
windows.md docs: Apply documentation standards across all docs (#49177) 2026-02-17 20:58:17 -06:00
worktree-trust.md Fix typos and grammatical mistakes in docs (#59495) 2026-07-08 12:32:00 +00:00