This VS Code extension allows you to sort the workspace folders by name or path directly from the Explorer context menu.
- Sort workspace folders by name.
- Sort workspace folders by path.
- Open a workspace with a
.code-workspace
configuration file. - Right-click on the workspace file in the Explorer.
- Select "Sort by Name" or "Sort by Path" from the context menu.
- Clone the repository.
- Open the project in VS Code.
- Run
npm install
to install dependencies. - Press
F5
to open a new VS Code window with the extension loaded.
To make changes to the extension:
- Modify the source code in
src/extension.ts
. - Update the
package.json
if necessary. - Compile the TypeScript code with
npm run compile
. - Reload the extension with
F5
.
Sort by Name
: Sorts the workspace folders by their names.Sort by Path
: Sorts the workspace folders by their paths.
If you find any issues or have suggestions, feel free to open an issue or create a pull request.
This project is licensed under the MIT License.