Skip to content

Update completion test for files.exclude configuration - #332809

Open
Deniz Güney Yıldırım (denizguney) wants to merge 5 commits into
microsoft:mainfrom
denizguney:patch-10
Open

Update completion test for files.exclude configuration#332809
Deniz Güney Yıldırım (denizguney) wants to merge 5 commits into
microsoft:mainfrom
denizguney:patch-10

Conversation

@denizguney

Copy link
Copy Markdown
Contributor

This PR adds a test case for files.exclude completion in completion.test.ts to ensure proper handling and validation of folder/pattern completion.

Copilot AI balanced review requested due to automatic review settings August 26, 2026 20:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates files.exclude completion coverage for boolean values.

Changes:

  • Tests completing true for a folder exclusion pattern.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread extensions/configuration-editing/src/test/completion.test.ts

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the review comment. Also it looks like there'san extra space before 'test'

Removed commented-out code related to 'files.exclude' completion tests.
Replace 'in' with 'new' keyword when instantiating vscode.Range in setTestContent
@denizguney

Copy link
Copy Markdown
Contributor Author

Thanks for the feedback I've removed the extra space before 'test' and fixed the range syntax. Ready for another review.

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.

6 participants