Skip to content

MrMrProgrammer/keyboard-switcher

Repository files navigation

Keyboard Switcher - VS Code Extension

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.


✨ Features

  • 🔄 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.

🚀 How to Use

  1. Select the text you want to fix in the editor.
  2. Run the command
    "Keyboard Switcher: Convert Keyboard Layout"
    from the Command Palette (Ctrl+Shift+P or Cmd+Shift+P),
    or simply press Ctrl + Alt + K.
  3. The selected text will be replaced with the corrected version.

🔤 Example

Typed with wrong keyboard layout:

فاهس هس ش صقخدل فثطف

Converted to:

this is a wrong text

📦 Installation

  • Install from the VS Code Marketplace (when published)
    or
  • Install manually from the .vsix file:
    1. Open Command Palette
    2. Choose "Extensions: Install from VSIX..."
    3. Select the .vsix file

You can also use the terminal:

code --install-extension keyboard-switcher-0.0.4.vsix

🤝 Contributing

Found a bug or have a feature request?
Feel free to open an issue or submit a pull request.


📄 License

MIT License © 2025 MrMrProgrammer


🙏 Acknowledgments

Thanks for using Keyboard Switcher!
If you find it useful, please ⭐ star the repo and share it with others.

About

Have you ever written a block of code or text and realized your keyboard was set to the wrong language (Persian instead of English, or vice versa)? This extension helps you instantly convert the selected text between Persian ↔ English keyboard layouts inside VS Code.

Topics

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors