Smart Enter is a VS code extension to replace the default action of 'Enter' button to jump out of bracket.
Usually when you type '{'
in VS Code, the editor will automatically give you '{}'
and put the cursor in side the bucket like '{|}'
. So you will have to press right-arrow to move your cursor to '{}|'
which is not so convenience.
This extension replace the default action of 'Enter' button to move the cursor out of bracket or specific characters, such as:
) ] } > " ' : ; / |
This extension contributes the following settings:
smartenter.chars
: A string of characters that will enable smart enter
enter
: Active smart enter function.ctrl+enter
: Force to active origin enter instead of smart enter
None
Initial release