
5 Other Actions
- Insert console.log for variable
Insert a 'console.log' statement for a selected variable when possible.
- Insert else statement
Add an else statement to an existing if statement
- Select expression occurrences
Start a multi-cursor selection on several occurrences of the same expression.
- Surround with if statement
Surround a sequence of statements with an if-statement.
- Surround with try…catch
Surround a sequence of statements with a
try…catch
block.