Is there any way I can set a shortcut for a character like equal sign (=
) in WebStorm?
For example: Cmd + J prints =
In VSCode we can make a snippet and set a shortcut for that but I could not find any way in WebStorm.
You can use Macros functionality for such thing: https://www.jetbrains.com/help/webstorm/using-macros-in-the-editor.html
Edit | Macros | Start Macro Recording
=
Edit | Macros | Stop Macro Recording
Settings/Preferences | Keymap
, locate your freshly recorded macro there (will be under the Macros
node) and assign any desired shortcut for that