Issue
I watch youtube tutorials and when the presenter types part of a screen name the import is automatically created. In one video the presenter enters part of a screen name and a list appears with the required screen at the top. He presses tab and the import is generated. When I do it the list appears I press tab and nothing happens. I have checked for "auto import" in the extension marketplace but am unable to locate one for Dart. Every video I watch it works. It is such a silly little thing but it is driving me crazy, which is not good for my blood pressure. :) Somebody please help me because I have tried searching the net and youtube.
Solution
First type the name of class you wish to import.
Since it has not already been imported, VSCode shows red underline below that identifier name. Make sure your cursor is pointed to that unrecognized identifier name and depending on your platform, press
ctrl + .
or cmd + .
to see a list of available quick fixes.
Answered By - arjunQ21
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.