bracket-lens-vscode icon indicating copy to clipboard operation
bracket-lens-vscode copied to clipboard

Detection with newlines in C++

Open nvdl opened this issue 4 years ago • 1 comments

The markers are not correct for (lines can broken if they are long and "clang-format" is used):

if (c1) {
    for (a :
         b) {
        if (c2) {
        } else {
        }
    }
}

But they are OK for:

if (c1) {
    for (a : b) {
        if (c2) {
        } else {
        }
    }
}

nvdl avatar Dec 17 '20 16:12 nvdl

I understand what you mean. I may take some improvements in the future, but please think of it as such a specification at now.

wraith13 avatar Dec 19 '20 02:12 wraith13