vscode-clang icon indicating copy to clipboard operation
vscode-clang copied to clipboard

clang.completion.triggerChars only takes one character

Open jovere opened this issue 7 years ago • 0 comments

While the trigger characters in the default list make some sense, it would be much better if it could be a trigger string (at least two characters). I get high levels of frustration when the auto-complete popup occurs after a case block, after a constructor for an initializer list, or a class definition for inheritance. This also occurs when closing a template or using a simple greater-than symbol.

The true defaults for completion should be: [".","->","::"]

image

Usually, this isn't too bad, but when creating case blocks and I hit [enter], the box fills in whatever junk was highlighted, as below: image

jovere avatar Mar 16 '17 16:03 jovere