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

"Improved Member Function Completion" not working

Open SunXuan90 opened this issue 7 years ago • 2 comments

Type: LanguageService

Describe the bug

  • OS and Version: Windos 10 1903 18362.356
  • VS Code Version: 1.39.2
  • C/C++ Extension Version: 0.26.1
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

In https://devblogs.microsoft.com/cppblog/vs-code-cpp-extension-january-2019-update/ I see that the c/c++ vscode extension has a feature:

With improved member function completion, the selected completion is committed after a parenthesis “(“ is entered.

But it's not working on my computer. I have the latest vscode and c/c++ extension, and I already turned on "Editor: Accept Suggestion On Commit Character". Is there any other options that I missed? Thanks!

This is intellisense suggestions: image and this is after typing '(' image

SunXuan90 avatar Oct 30 '19 03:10 SunXuan90

That "feature" (a 1 line change) was removed because it caused unforeseen regressions -- the blog should be edited to remove mentioning that feature (I mentioned this to the blog author to do this at the time, but it looks like it didn't happen). A different design that adds ( automatically is being tracked at https://github.com/microsoft/vscode-cpptools/issues/882 .

sean-mcmanus avatar Nov 01 '19 20:11 sean-mcmanus

I've updated the blogpost to reflect the fact that the feature is no longer supported.

mluparu avatar Nov 04 '19 17:11 mluparu