Add Plan Files command to open and edit ~/.claude/plans/*.md#203
Open
leonidasbarkas98-cpu wants to merge 2 commits into
Open
Add Plan Files command to open and edit ~/.claude/plans/*.md#203leonidasbarkas98-cpu wants to merge 2 commits into
leonidasbarkas98-cpu wants to merge 2 commits into
Conversation
) Adds a "Show Plan Files" command and a header button that list plan markdown files written by the Claude CLI, open the newest/only one directly or offer a QuickPick for multiple, reusing the existing file editor helper. Saving a plan file from the editor now offers to notify the running Claude session via the existing send-message path, but only shows the info message (no button) if no webview is active. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…pimenta#9) FileType is a bitmask, so a symlinked .md (File|SymbolicLink) was skipped by the strict equality check against FileType.File; use a bit test instead. Also guard against every stat() call failing after readDirectory succeeded (e.g. file removed in between), which left showQuickPick called with an empty list instead of showing the "no plan files" message. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CLI writes plan files to
~/.claude/plans/but the extension ignored that directory entirely. This adds a "Plans" header button + command showing a QuickPick of plan files (mtime-sorted, symlinks filtered) that opens them in the editor. Saving an edited plan offers a "Send to Claude" notification (save-listener only — deliberately no FileSystemWatcher, which would also fire on CLI writes).Same goal as PR #176, reimplemented on current main.
🤖 Generated with Claude Code