Answer the question
In order to leave comments, you need to log in
Is there a plugin for IntelliJ IDEA that extends the line duplication feature?
There used to be a wonderful Duplicate
plugin for the FlashDevelop IDE .
By keyboard shortcut, duplicated a line and replaced some keywords and combinations.
For example:
var w:int = stage.stageWidth / 2;
duplicated as:
var h:int = stage.stageHeight / 2;
addEventListener(MouseEvent.ROLL_OVER, onRollOver);
duplicated as:
addEventListener(MouseEvent.ROLL_OUT, onRollOut);
and then
addEventListener(MouseEvent.CLICK, onClick);
and so on...
He also knew how to increase or decrease numbers:
var a0:int = arr[0];
duplicated as
var a1:int = arr[1];
var a2:int = arr[2];
etc.
Are there similar plugins for Idea? For html, css, js?
It is very convenient and speeds up writing all sorts of handlers for the mouse, etc.
The list of keywords could be edited in the settings, incl. add your own
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question