An editor extension adds language and debugging support; it is not proof that the Flutter SDK and target platform are configured. Start after the command-line installation works.
Step 1: choose your editor
Use the official VS Code setup instructions or Android Studio/IntelliJ instructions . Install the Flutter support from the publisher identified by that documentation. Dart language support is part of the workflow; avoid similarly named unofficial extensions when configuring a new environment.
Step 2: select the same SDK as the terminal
Check the editor’s Flutter SDK setting. It should refer to the SDK root, not a random app folder or only a copied executable. Compare its selected revision with flutter –version in a fresh terminal.
If a version manager controls the project, configure the editor according to that manager’s instructions. A globally installed Flutter and a project-selected Flutter can legitimately differ, but the difference must be intentional.
Step 3: open the project root
Open the directory that contains pubspec.yaml. Opening only lib/main.dart can prevent the editor from recognizing the package and its dependencies correctly. Resolve dependencies before judging import errors.
Step 4: choose a detected target and debug
Start from a clean local app . Select a target listed by flutter devices, start debugging and add a breakpoint inside a button callback. Trigger the action and confirm execution stops at that line.
This verifies more than syntax coloring: the editor can find the project, launch the app and connect the debugger.
Step 5: verify reload and restart
Change a visible label and use hot reload. Then change an initializer and compare hot restart. Follow the reload/restart guide so preserved state is not mistaken for a failed editor update.
When editor and terminal disagree
Check inherited environment, SDK selection and the opened project directory first. Reinstalling a plugin repeatedly will not repair a terminal PATH selecting the wrong SDK.