weakish / vscode-complete-statement

Complete Statement with semicolon in vscode.
BSD Zero Clause License
15 stars 3 forks source link

fix that the cursor will be moved two lines down #8

Closed moxuze closed 4 years ago

moxuze commented 4 years ago

If the cursor is currently at the end of a statement, it will be moved two lines down. Change the variable is_at_end to a inner function, reuse it to check if you need to move the cursor down. Forgive my poor English XD.

weakish commented 4 years ago

Merged via git command with some minor tweaks (splitting to smaller commits and code style adjustment). See 55cfaff and 7373d32.

weakish commented 4 years ago

released 0.4.0 :tada: