#WebStormTip Use the Complete Current Statement functionality (Shift-Cmd-Enter on macOS and Shift-Ctrl-Enter on Windows/Linux) to add curly braces and move the cursor with one keystroke.
More editing tips: http://jetbrains.com/webstorm/guide/topics/editing …pic.twitter.com/fdwzb4SPor
-
-
Not the shortcut, but the content of the code itself? For example, when writing a Jest test in JS, like "test('...', () => {});" I'd like to have a semicolon closing the block rather than having to always add it manually.
-
If it's about customizing the behavior of this action, you can use a custom live template as it was suggested by Carlos. See this blog post: http://blog.jetbrains.com/webstorm/2018/01/using-and-creating-code-snippets … for more information.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.