chore: rename .claude/settings copy.json to avoid VSCode Copilot parsing errors#1615
Open
marioja wants to merge 1 commit intoruvnet:mainfrom
Open
chore: rename .claude/settings copy.json to avoid VSCode Copilot parsing errors#1615marioja wants to merge 1 commit intoruvnet:mainfrom
marioja wants to merge 1 commit intoruvnet:mainfrom
Conversation
… by MS github copilot chat. This would run a number of hooks that may cause other problems. You can find out because it will generate this error in session start, user prompt submit and stop hooks: The token '||' is not a valid statement separator in this version. If it was not for these error I would have never realized this.
|
Nit: renaming |
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.
Summary
Renames
.claude/settings copy.json→.claude/settings.json.copyso that VSCode's GitHub Copilot chat does not attempt to parse it as an active settings file.Why
When Copilot chat is active in VSCode alongside a file named
settings copy.json, Copilot treats it as a Claude Code settings file and tries to execute the hooks it defines. This fails on Windows PowerShell with:The error fires on
SessionStart,UserPromptSubmit, andStophooks.Renaming the file to
settings.json.copy(extension.copy, not.json) keeps it as a backup reference while preventing Copilot from trying to load it.Changes
.claude/settings copy.json→.claude/settings.json.copy(file rename only, no content changes)Test plan
Feel free to close this PR and do the rename yourself if you prefer — it's a one-line change.
🤖 Generated with claude-flow