vmsynkov-zz / colonize

Visual Studio Code extension
GNU General Public License v3.0
38 stars 19 forks source link

Keep the cursor at its current position #3

Closed lekhnath closed 7 years ago

lekhnath commented 7 years ago

It would be nice to have a feature of retaining current cursor position after inserting semicolon at EOL.

caiolopes commented 7 years ago

@lekhnath I just added this feature and made a PR. Let's see what @vmsynkov will think about it and probably soon it will be in the vscode marketplace.

lekhnath commented 7 years ago

@caiolopes sounds great.

vmsynkov-zz commented 7 years ago

It is possible now with the ctrl+alt+enter shortcut. At first i used ctrl+enter and even published a newer version, but than i realized that i forgot to check the default vsc shortcuts and found ctrl+enter to be "add new line below", so i chose to add alt as some people might be used to that.