Skip to content

Moved cursor position in the middle#5

Open
revolter wants to merge 1 commit intoflexih:masterfrom
revolter:settings
Open

Moved cursor position in the middle#5
revolter wants to merge 1 commit intoflexih:masterfrom
revolter:settings

Conversation

@revolter
Copy link
Contributor

If the Leading/Trailing Space is enabled and:

  • if the plugin is triggered with selected text:
    • comment would transform into /* comment| */, where the | is the cursor position
    • else, at the cursor position would be inserted /* | */
  • else, if the plugin is triggered with selected text:
    • comment would transform into /*comment|*/, where the | is the cursor position
    • else, at the cursor position would be inserted /*|*/

so you can immediately start typing or editing the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants