Xcode-CComment icon indicating copy to clipboard operation
Xcode-CComment copied to clipboard

Moved cursor position in the middle

Open revolter opened this issue 10 years ago • 0 comments

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.

revolter avatar Jul 29 '15 08:07 revolter