Skip to content

[Repo Assist] docs: use \$\{workspaceFolder} instead of deprecated \$\{workspaceRoot} in executablePath example#102

Draft
github-actions[bot] wants to merge 1 commit intomasterfrom
repo-assist/improve-readme-workspacefolder-2026-03-20-6b96003111332d92
Draft

[Repo Assist] docs: use \$\{workspaceFolder} instead of deprecated \$\{workspaceRoot} in executablePath example#102
github-actions[bot] wants to merge 1 commit intomasterfrom
repo-assist/improve-readme-workspacefolder-2026-03-20-6b96003111332d92

Conversation

@github-actions
Copy link
Contributor

🤖 This PR was created by Repo Assist, an automated AI assistant.

Summary

The README showed \$\{workspaceRoot} as the primary example for a workspace-relative phpcbf.executablePath. This variable was deprecated in VS Code v1.10 in favour of \$\{workspaceFolder}. Since the docs are the first thing users read when configuring the extension, they should demonstrate the current, recommended syntax.

What Changed

  • README.md line 29: \$\{workspaceRoot}/vendor/bin/phpcbf\$\{workspaceFolder}/vendor/bin/phpcbf

The extension code (extension.js) already handles both \$\{workspaceFolder} and \$\{workspaceRoot} for backwards compatibility, so this is a documentation-only fix with no behaviour change.

Why This Matters

Users setting up the extension for the first time may copy the example verbatim. Showing the deprecated \$\{workspaceRoot} form risks confusion (VS Code's own IntelliSense will show \$\{workspaceFolder} in settings, which won't match the docs).

Test Status

Documentation-only change — no code changed, all 7 unit tests pass unchanged.

npm run test:unit: 7/7 pass ✅

Generated by Repo Assist

Generated by Repo Assist ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@346204513ecfa08b81566450d7d599556807389f

…n executablePath example

The README showed ${workspaceRoot} as the example for configuring a
workspace-relative executablePath. This variable is deprecated in VS Code
(since v1.10); ${workspaceFolder} is the current name and should be used
in documentation. The extension code already supports both forms.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants