Keyboard Switcher is a lightweight and handy Visual Studio Code extension that helps you correct text typed with the wrong keyboard layout.
If you've ever accidentally typed Persian text using the English keyboard layout—or vice versa—this extension can instantly convert it to the correct form with a single command or shortcut.
- 🔄 Convert Persian text typed with English layout to correct Persian.
- 🔄 Convert English text typed with Persian layout to correct English.
- ⚡ Works instantly on selected text.
- ⌨️ Accessible via Command Palette or keyboard shortcut.
- 🪶 Lightweight and easy to use.
- Select the text you want to fix in the editor.
- Run the command
"Keyboard Switcher: Convert Keyboard Layout"
from the Command Palette (Ctrl+Shift+PorCmd+Shift+P),
or simply pressCtrl + Alt + K. - The selected text will be replaced with the corrected version.
Typed with wrong keyboard layout:
فاهس هس ش صقخدل فثطف
Converted to:
this is a wrong text
- Install from the VS Code Marketplace (when published)
or - Install manually from the
.vsixfile:- Open Command Palette
- Choose "Extensions: Install from VSIX..."
- Select the
.vsixfile
You can also use the terminal:
code --install-extension keyboard-switcher-0.0.4.vsixFound a bug or have a feature request?
Feel free to open an issue or submit a pull request.
MIT License © 2025 MrMrProgrammer
Thanks for using Keyboard Switcher!
If you find it useful, please ⭐ star the repo and share it with others.