tomtom / tcomment_vim

An extensible & universal comment vim-plugin that also handles embedded filetypes

Home Page:http://www.vim.org/scripts/script.php?script_id=1173

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FR] TCommentBlockOrInline

huyz opened this issue · comments

commented

In both JetBrains IDEs and VS Code, if we do a block comment, we get a combination of TCommentBlock or TCommentInline.

If multiple lines are selected, we end up with something similar to TCommentBlock:

/*
line 1
line 2
*/

But if only part of a line is selected, we end up with something similar to TCommentInline:

part /*of the*/ line

The behavior simply depends on the selection.

Could we have something like that in tcomment too? Right now, I use TCommentInline but if I select multiple lines, I end up with something like:

/* line 1 */
/* line 2 */
commented

Yeah, this is very low priority