Skip to content

JAVOsoft-DE/input-remapper

Repository files navigation

Input Remapper Icon

Input Remapper

Input Remapper is an IntelliJ IDEA plugin that allows you to automatically replace keyboard inputs based on the file type. This is particularly useful for special characters or frequently used strings in various programming languages.

Features

  • File-type specific remapping: Define different replacement rules for different file extensions (e.g., .java, .py, .md).
  • 1-1 and 1-n replacement:
    • 1-1 replacement: One input character is replaced with one output character. 1-1 replacement is useful for remapping special characters that are commonly used in programming languages
    • 1-n replacement: One input character is replaced with multiple output characters. 1-n replacement is useful for remapping frequently used strings in programming languages.
  • Real-time replacement: Characters are replaced directly while typing.
  • Status bar integration: Quick access to the plugin status and easy activation/deactivation via the status bar.
  • Privacy: While the editor pane has focus, InputRemapper monitors keyboard input to match it against the existing remapping tables and perform a remapping if necessary. To protect your privacy, InputRemapper does not log details about the replaced characters. InputRemapper works entirely locally inside the IntelliJ Platforms input pipeline. InputRemapper does not use system-wide keyboard hooks, does not record keystrokes, does not send input data over the network, and does not include telemetry.

Screenshots

Create a new file extension

Create a new file extension

Add a mapping

Add a mapping

Different Mappings for different file extensions

Switch between file extensions

Installation

  • The best way is to install directly through the JetBrains Marketplace.
  • Alternatively,
    1. Download the plugin or build it from source using ./gradlew buildPlugin.
    1. Open IntelliJ IDEA.
    1. Go to Settings > Plugins > Gear Icon > Install Plugin from Disk....
    1. Select the generated ZIP file from build/distributions/.

Configuration

Settings can be found under Settings > Tools > Input Remapper.

  1. Enable: Turn the plugin on or off.
  2. Status Bar: Choose whether the plugin should be displayed in the status bar and what text should appear there.
  3. Mappings:
    • Add a file extension.
    • Define source characters (Input) and target strings (Output).

License

  • GPL-3.0-or-later.
  • See licence.txt for details.

About

Free and open-source IntelliJ IDEA plugin for local input remapping.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages