Fix README with no extension not appearing in Workspace Wiki#22
Merged
AlexJSully merged 2 commits intomainfrom Oct 30, 2025
Merged
Fix README with no extension not appearing in Workspace Wiki#22AlexJSully merged 2 commits intomainfrom
AlexJSully merged 2 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for README files without extensions to be recognized and treated as Markdown files in the Workspace Wiki extension. The fix ensures that extension-less README files appear in the workspace tree and use the appropriate preview mode.
- Extends the workspace scanner to include README files (no extension) when Markdown is supported
- Updates the tree provider to handle preview commands for extension-less README files
- Adds comprehensive test coverage for the new functionality
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/scanner/workspaceScanner.ts |
Adds scanning patterns for extension-less README files when Markdown is supported |
src/tree/treeProvider.ts |
Implements special handling for README files without extensions in preview mode |
src/scanner/workspaceScanner.test.ts |
Adds unit tests for README scanning with and without Markdown support |
src/tree/treeProvider.test.ts |
Adds comprehensive test coverage for README preview command handling |
docs/architecture/scanner.md |
Updates documentation to reflect README scanning support |
docs/architecture/settings.md |
Documents the special case for README files |
README.md |
Updates the main README to explain README file support |
package.json |
Version bump to 1.0.4 |
example/nested-structure-test/subdirectory-3/README |
Adds test README file |
example/file-types-test/test-proto.proto |
Adds test proto file |
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.
No description provided.