-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocomplete fails for templated class/struct #5039
Comments
Hi @kbthomp1 . I'm able to repro (a minimal version of) your issue in Visual Studio as well. (The C/C++ Extension shares code for IntelliSense with VS). I've opened a bug against VS here: https://developercommunity.visualstudio.com/content/problem/936260/intellisense-instance-of-template-stored-in-auto-d.html |
What is the status of this now that the bug report for VS has been deemed low priority and closed? |
@glingy We're tracking potential priority changes via upvotes to this GitHub issue (thumbs up icon on the original post). If you have a Microsoft account, you can also re-file the issue on the VS side -- but FYI they have a different system that requires they periodically close the lower priority issues after a certain period of time, so it could just be closed again later on. |
Related question asked on Stack Overflow: Why doesn't Intellisense provide suggestions for templates inside templates that use parameters from the outer template? |
Might be another similar issue in SO: Is it possible for VS code to detect a templated inherited base class member inside the methods of a templated derived class? |
What if Anyway this seams to have been solved yeah? Atomic constraints on members will affect autocomplete. |
Type: LanguageService
Describe the bug
intelliSense autocomplete fails to deduce type of templated class declared in templated class/function.
To Reproduce
Hovering over the
addition
variable showsauto addition
, and line 14 fails to auto-complete theresult
class member.Expected behavior
I would expect auto-complete to deduce the class members of the
addingClass
in the above example.Screenshots
Additional context
c_cpp_properties.json:
The text was updated successfully, but these errors were encountered: