# docs: Fix WSL action name in remote development guide \(\#61073\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/badd2157d6a507009e8db7c4b24e28fb73979948)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: badd2157d6a507009e8db7c4b24e28fb73979948

Requested commit: badd2157d6a507009e8db7c4b24e28fb73979948

Commit: badd2157d6a507009e8db7c4b24e28fb73979948

Tree: 70a50e3c5d1d479f6c03640f6819390ddda6ea37

Author: kai-xlr

Committer: GitHub

## Message

```
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>
```

## Parents

- [0a4a4a950f170aa0f7ac27ea33f76f17302227aa](https://git.cafe/gitcafe/zed/commit/0a4a4a950f170aa0f7ac27ea33f76f17302227aa?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/badd2157d6a507009e8db7c4b24e28fb73979948?format=markdown)
