Hello everyone)) I had a misfortune! Suddenly a few keys on the keyboard stopped working, and just the most necessary ones. I will replace the clave after the new year, but now we need to work like that!

Tell phpStorm , is it possible in phpStorm to do something like my own autocompletion / auto-replacement, that is, I enter, for example, +/- , but does it automatically replace this combination with the symbol I need ??

I ask for help)))

  • Maybe Live templates will do? jetbrains.com/help/phpstorm/2016.3/live-templates.html - artspb
  • Live templates will do, in case of emergency there is a Virtual keyboard Windows - Adobe
  • @artspb, Live templates is the most convenient solution) Thanks - Maybe_V
  • @Adobe Live templates - the perfect solution - Maybe_V

1 answer 1

I see two options:

  • OS tools - possibly built-in or external, for example, for Mac OS there is a TextExpander
  • LiveTemplate in IDE. Preferences -> Editor -> Live Templates -> plain and you can add your own templates. By default, they are triggered by the Tab key.
  • Thank ! LiveTemplate - the best option for me) - Maybe_V