Open Unturned3 opened 2 years ago
I've filed a feature request on VS at https://developercommunity.visualstudio.com/t/CC-IntelliSense-completion-for-goto-l/10058527 (shared component).
Hello @sean-mcmanus , are there any updates on this issue? If this is an intended behavior, may I ask what's the rationale behind it?
Thank you for your help!
@Unturned3 No update. It is the intended behavior because the completion for goto labels was never implemented. So it's debatable whether it should classify as a bug or enhancement/feature request.
I have also found this feature to be inexplicable missing. Maybe it's an ideological aversion to goto.
@Plashu It's not an ideological aversion to goto, although for C++ there are usually better choices.
Still no updates? I too would like autocompletion for goto labels 🤷♀️
Bug type: Language Service
Describe the bug
The autocompletion engine doesn't seem to provide suggestions for
goto
statement labels in C/C++.Steps to reproduce
main
, e.g.test_label:
goto test
, and wait for autocompletionEither nothing shows up, or unrelated variables / functions containing the string "test" are suggested.
Expected behavior
Autocomplete should suggest
test_label
to complete thegoto
statementScreenshot