Skip to content

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