Toggle the sort order in the VS Code / Cursor Explorer panel between 'By Name' (default) and 'By Last Modified' with a single command or keyboard shortcut.
Features
Toggle Command: Run Toggle Explorer Sort Order from the Command Palette.
Keyboard Shortcut: Cmd+F10 (Mac) or Ctrl+F10 (Windows/Linux) when the Explorer is focused.
Visual Feedback: Shows a notification indicating the new sort mode (Name vs. Last Modified).
Quick Install
To install this extension locally without publishing to the marketplace:
Clone the repository:
git clone https://github.com/takline/explorer-sort-toggle.git
cd explorer-sort-toggle
Run the setup script:
./install-local.sh
This script will install dependencies, package the extension, and attempt to install it to both VS Code and Cursor automatically.