Sort Workspace Folders
This VS Code extension allows you to sort the workspace folders by name or path directly from the Explorer context menu.
README-zh
Features
- Sort workspace folders by name.
- Sort workspace folders by path.
Usage
- 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.
Installation
- 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.
Development
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 .
Commands
Sort by Name : Sorts the workspace folders by their names.
Sort by Path : Sorts the workspace folders by their paths.
Contributing
If you find any issues or have suggestions, feel free to open an issue or create a pull request.
License
This project is licensed under the MIT License.
| |