radicaled / dart-tools

Various tools for Dart in Atom
MIT License
23 stars 3 forks source link

Only 'SDK Info' Command Available #87

Open Aza1 opened 9 years ago

Aza1 commented 9 years ago

I'm using Atom 0.204.0 on Windows 7, and the only visible command on Packages>Dart Tools is SDK Info.

Also saving my pub.yaml file does not trigger pub, even though the 'Pub Get On Save' option is set.

radicaled commented 9 years ago

Can you (CTRL/CMD)+SHIFT+P, open "toggle dev tools", and copy and paste any stack trace in the console?

hectorfhurtado commented 9 years ago

HI @Aza1, I had the same problem. It was because I didn't write where my dart-sdk was on Settings. After that, commands appeared.

Hope that helps

radicaled commented 9 years ago

@Aza1

Are you still having problems? Anything else I can do for you?

Aza1 commented 9 years ago

@radicaled pub get now runs automatically when I change pubspec.yaml, which is great. But the only command still available for Dart Tools is SDK Info, none of the others, it shows the correct sdk info by the way.

radicaled commented 9 years ago

@Aza1

OK. If you hit CTRL+SHIFT+P and type "Dart" do you see a list of commands? Does autocomplete work if you start typing in a Dart file? Do you see "analysis server started" when you open a Dart project?

The file menu for "Dart Tools" only contains one entry right now.

Aza1 commented 9 years ago

@radicaled Yes I do see the list of commands when I press CRTL+SHIFT+P and type 'Dart'. Autocomplete works. And I do see the 'analysis server started' notification.

Any specific reason why the 'Dart Tools' menu only contains just the one entry?

radicaled commented 9 years ago

I don't know anyone who uses the "Packages" menu, so it's more or less neglected. I accept packages that populate it, though!

radicaled commented 9 years ago

@Aza1

Any items you'd like to see in the menu?

Aza1 commented 9 years ago

pub serve pub build pub get pub upgrade pub deps pub cache