Skip to content

fix: align VS Code settings with config keys and reject unknown fields - #56

Merged
jo16oh merged 3 commits into
mainfrom
fix/vscode-config-keys
Sep 24, 2026
Merged

jo16oh merged 3 commits into
mainfrom
fix/vscode-config-keys

Conversation

@jo16oh

@jo16oh jo16oh commented Sep 24, 2026

Copy link
Copy Markdown
Owner

The VS Code extension still sends excludeFiles, which the server dropped in favor of include. The server ignores it silently:

// settings.json
"cvk.excludeFiles": ["dist/**"] // no effect
  • Replace cvk.excludeFiles with cvk.include and add cvk.definitionFiles in the VS Code extension
  • Mark cvk.lookupFiles as deprecated in favor of cvk.definitionFiles
  • Report invalid initializationOptions as a config error instead of dropping them
  • Reject unknown fields in cvk.json(c), except $schema

…nitionFiles

- server dropped excludeFiles, so the setting had no effect
- keep lookupFiles as deprecated alias
@jo16oh
jo16oh merged commit c301d11 into main Sep 24, 2026
8 checks passed
@jo16oh
jo16oh deleted the fix/vscode-config-keys branch September 24, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant