First off, I'm loving using dart with webstorm, you guys have been doing great work indeed on improving the experience of developing with web tools.
I have a fairly abnormal setup, so I'm hoping to post here to get a gist if there is a current solution before opening an issue. In a nutshell, I'm trying without success to get the editor to recognize a local dart script I've imported, that is at a custom path. The result is that I get an error statement saying the imported file can't be found, nor can anything I define within that script file. This taints my otherwise fantastic static analysis experience. :)
The script I'm trying to import is actually a bridge for a custom VM I'm embedding in a C++ application, using cinder and Cinder-Dart. The C++ application knows how to resolve the script location, but webstorm doesn't. I tried adding a pubspec.yaml (this one) and referring to it by path from my dart script's pubspec.yaml, yet it tells me the pubspec.yaml file cannot be found. Here is what my dart script's pubspect.yaml file looks like:
I have verified the above relative path is correct, but I am still getting the warning that the pubspec.yaml file cannot be found in that folder, nor does it fix the missing symbols in my script file. I'm I on the right track, or is there something else I could try? Or perhaps I've hit on a use case others have not yet.
Thanks for any help,