-1

Does the Dart language server support code completion for switch statement?

I am asking about the Dart extension for VS Code.
In the switch statement, I want to get a suggestion (autocompletion) for the case keyword. I get one for the first case in the switch, but not for subsequent ones. I also don't get a suggestion for the default keyword after cases.

I get the impression that this feature is not implemented.
Maybe I am wrong and I am doing something wrong?

How can I determine what the problem is?

lack of code completion

I assume that the interactive development environment's reaction to my actions will be something like this.

enter image description here

2
  • 1
    I believe the plugin is using whatever the analyzer tells it for completions, so this might be a bug in the analyzer, not the plugin. There are links to report issues and even join the discord (the author is active there) at dartcode.org Commented Nov 9 at 18:53
  • 4
    I've cleaned up the comments. everyone, remember to be kind to one another and respect one another. I don't want to see more comments that read with patronizing undertones. remember that you can flag issues and/or disengage. mezoni, I encourage you to make edits to your question post to improve clarity when others ask for it. there are limits to reasonableness for requests for clarity, but I think the requests you got were reasonable. I've gone ahead and attempted to make those edits for you. Commented Nov 15 at 21:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.