I just downloaded the Dart Eclipse plugin and am trying to figure out how to run pub get
from inside my new project (to resolve dependencies).
- I installed the plugin via
Help >> Install New Software
- I went to
Window >> Preferences >> Dart
and installed the latest SDK - Restarted Eclipse
- I created a new
Java Project
(seeing that I will use Dart/dart2js for all my client code and Java for all my server code) - Added a
pubspec.yaml
in a config directory (see below)
I was expecting to be able to right-click my project and see an option like Dart >> Pub Get
, or Build Path >> Add Libraries >> Add Dart Pub-Managed Library
, or something obvious. But I'm not seeing anything.
Did I don anything wrong in my steps above? How do I run pub
from inside my Eclipse project?