vscode-clang
vscode-clang copied to clipboard
clang.completion.triggerChars only takes one character
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: [".","->","::"]
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: