I installed the dart SDK before but I didn't see it in the tree I guess. I manually typed /usr/lib/dart in the "Dart SDK path" and the SDK was recognized. I'm on Ubuntu 16.04 btw. So I used the whereis dart command to find where the installation was.
The dart plugin was enabled but there was no option for it in the "languages and frameworks" section.
Dart SDK settings are available either in project preferences (if project is already created and opened) or in New project dialog (New | Project... | Dart); so everything seems to work as expected
Did you configure a path to Dart SDK in Settings | Languages & Frameworks | Dart?
I have not and I do not see a "Dart" option in settings | Languages & Frameworks. This is a fresh install of websorm btw.
Is Dart plugin enabled in Settings | Plugins?Also, please make sure to open Serttings (Preferences on Mac OSX), not Default Settings
I figured it out.
This is the error I was seeing.
I installed the dart SDK before but I didn't see it in the tree I guess. I manually typed /usr/lib/dart in the "Dart SDK path" and the SDK was recognized. I'm on Ubuntu 16.04 btw. So I used the whereis dart command to find where the installation was.
The dart plugin was enabled but there was no option for it in the "languages and frameworks" section.
>The dart plugin was enabled but there was no option for it in the "languages and frameworks" section
did you have the project opened?
I was creating a new project so I did not have the project open because it had not been created yet.
Dart SDK settings are available either in project preferences (if project is already created and opened) or in New project dialog (New | Project... | Dart); so everything seems to work as expected
For the latest say Webstorm (version:2021.2.2 build: 212.5284.41) at my time of writing this comment, do the following:
After this you will be good to go.