How Can I Remove The Red Squiggly Lines From My Code? (It's Working Perfectly) - IntelliJ IDEA
2,306
I think I found a solution to this.
It seems that some of the plug-ins already installed are conflicting with dart and thereby, showing the code as red even when no error is there or even if all SDK are properly set-up.
For me, turning off 'Deadalus support' plugin and restarting and invalidating cache worked. For some others, it was the github plugin. So, give it a shot and see which one is causing the red code for you.
Comments
-
Akim John over 1 year
-
y.bedrov over 5 yearsHave you tried "File | Invalidate Caches"?
-
Akim John over 5 yearsI have. It's still there
-
Alexander Doroshko over 5 yearsWhat are the error messages? You may open Dart Analysis tool window to see them all.
-
Akim John over 5 yearsThere aren't any error messages
-
Alexander Doroshko over 5 yearsCould you accidentally mess up your code highlighting settings? Try to open Settings | Editor | Color Scheme and switch scheme to Darcula.
-
-
Akim John over 5 yearsI have imported everything. The code is working perfectly. The squiggly lines are just distracting.