Skip to content

Conversation

@jonathan-oron
Copy link

Summary

  • Adds a new codetour.sortBy setting to allow sorting tours by title (default), date modified, or date created
  • Uses VS Code's workspace.fs.stat API for cross-platform compatibility (works in both desktop and web environments)
  • Pre-fetches file stats asynchronously to avoid blocking the sort operation

Test plan

  • Set codetour.sortBy to "title" and verify tours sort alphabetically (default behavior)
  • Set codetour.sortBy to "dateModified" and verify tours sort by modification date (newest first)
  • Set codetour.sortBy to "dateCreated" and verify tours sort by creation date (newest first)
  • Verify the extension works in VS Code for Web

Fixes #317

🤖 Generated with Claude Code

Add a new `codetour.sortBy` setting that allows users to sort tours by:
- `title` (default, current alphabetical behavior)
- `dateModified` (newest modified first)
- `dateCreated` (newest created first)

Uses VS Code's workspace.fs.stat API for cross-platform compatibility
(works in both desktop and web environments).

Fixes microsoft#317

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jonathan-oron
Copy link
Author

@microsoft-github-policy-service agree

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.

Add option to sort tours by date in Start Tour dialog

1 participant