You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Completion doesn't work for private or protected members #1955
We might be doing it wrong. The call checking whether the symbol is accessible in the context may only work as expected inside the method definition. I'll have to see what VS is doing in this case.
Our next release will have a workaround via using Ctrl+Space to invoke completion at the same spot to "show more results" (#2386 )...but this case should still work on the 1st try.
This repros sometimes and sometimes it doesn't. Using version 1.2.0 of extension. I think it doesn't show during the first auto-complete, but after you try again, it will show all the results.
Sometimes the rest of the class members will show after re-trying to do auto-completion.
It seems have fixed. On my pc, vscode has the same behavior as vs. It doesn't appear in the auto triggered completion, but it will after you manually hit ctrl+space. I think this is the expected bahavior. But I would like to see a locker icon on private/protected method.
Activity
sean-mcmanus commentedon May 8, 2018
Bob Brown (@bobbrow) This doesn't repro with VS 2017 -- it seems either they fixed it or we're doing something wrong.
bobbrow commentedon May 8, 2018
We might be doing it wrong. The call checking whether the symbol is accessible in the context may only work as expected inside the method definition. I'll have to see what VS is doing in this case.
sean-mcmanus commentedon Aug 11, 2018
Our next release will have a workaround via using Ctrl+Space to invoke completion at the same spot to "show more results" (#2386 )...but this case should still work on the 1st try.
[-]Completion doesn't work in this case.[/-][+]Completion doesn't work for private or protected members[/+]michelleangela commentedon Feb 6, 2021
This repros sometimes and sometimes it doesn't. Using version 1.2.0 of extension. I think it doesn't show during the first auto-complete, but after you try again, it will show all the results.
Sometimes the rest of the class members will show after re-trying to do auto-completion.

HO-COOH commentedon May 18, 2021
Kind of related to #7120
It seems have fixed. On my pc, vscode has the same behavior as vs. It doesn't appear in the auto triggered completion, but it will after you manually hit ctrl+space. I think this is the expected bahavior. But I would like to see a locker icon on private/protected method.
On VS:

On VSCode:
