A
A
Alexey Bugaev2019-09-05 11:59:02
phpstorm
Alexey Bugaev, 2019-09-05 11:59:02

Is it possible to assign a hotkey to rename a word?

There is a word that often has to be replaced by another throughout the script, is it possible to create a template with hot keys for this action?
For example, can I change alert to console.log in the script, can it be implemented using a hotkey?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick Sdk, 2019-09-05
@aleksei13b

Record a macro. And in the settings (File | Settings | Keymap) put a hotkey on it.
Edit -> Macros -> Start Macro Recording
5d70db5995c5f526128551.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question