Postfix Completion
for Windows and Linux
for OS X
Ctrl+Alt+S
Overview
Postfix code completion lets you transform an already typed expression to another one based on the postfix you type after a dot, the type of the expression, and its context. This transformation is performed by expanding the postfix-specific predefined template.
For example, the .if
postfix applied to an expression wraps it with an
if
statement.
Before | After |
---|---|
function m(arg) {
arg.if
} |
function m(arg) {
if (arg) {
}
} |
See more at: Postfix Code Completion.
On this page, enable and disable postfix templates and appoint the key to activate the template expansion.
Controls
See Also
Last modified: 23 November 2016