Capitalizr 🅰️↔️🅰️
Capitalizr is a streamlined, user-friendly Visual Studio Code extension designed specifically to toggle the first letter case (uppercase to lowercase, or vice versa) of filenames and folder names with ease. It integrates seamlessly into your workflow by providing both Command Palette and Explorer context menu options, enhancing productivity and maintaining consistent naming conventions effortlessly.
✨ Features
- Single-click Toggle: Easily switch the first letter case of any file or folder directly from the VS Code Explorer context menu.
- Active File Toggle: Quickly toggle the case of the active file's name from the Command Palette, optimizing your workflow.
- Automatic Handling of Unsaved Files: If the active file hasn't been saved yet (e.g., "Untitled-1"), Capitalizr automatically prompts you to save the file before proceeding, ensuring no data loss.
🚀 Installation
You can install Capitalizr directly from the VS Code Marketplace:
- Open Visual Studio Code.
- Press
Ctrl+Shift+X
(Windows/Linux) or Cmd+Shift+X
(macOS) to open the Extensions sidebar.
- Search for "Capitalizr" and click "Install."
Alternatively, clone this repository and install manually:
git clone https://github.com/ALECAKIR/Capitalizr.git
cd Capitalizr
npm install
npm run compile
Launch the Extension Development Host by pressing F5
.
🖱️ Usage
Command Palette
- Open the Command Palette (
Cmd+Shift+P
on macOS, Ctrl+Shift+P
on Windows/Linux).
- Type
Toggle First Letter Case of Active File
and hit Enter to toggle the first letter of the currently active file.
- Right-click on any file or folder in the Explorer sidebar.
- Select
Toggle First Letter Case (Context Menu)
to quickly toggle the first letter of the selected item's name.
📸 Screenshots
🤝 Contributing
Contributions are highly welcomed! Please follow these steps to contribute:
- Fork this repository.
- Create a new branch (
git checkout -b feature/my-feature
).
- Commit your changes (
git commit -m 'Added my feature'
).
- Push your changes (
git push origin feature/my-feature
).
- Open a Pull Request.
📃 License
This project is licensed under the MIT License. See the LICENSE file for details.
📩 Support and Issues
Encountered an issue or have feedback? Please open an issue on GitHub. Your input is greatly appreciated!
Enjoy using Capitalizr! 🚀