dart-tools icon indicating copy to clipboard operation
dart-tools copied to clipboard

Only 'SDK Info' Command Available

Open Aza1 opened this issue 9 years ago • 9 comments

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.

Aza1 avatar Jun 03 '15 13:06 Aza1

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

radicaled avatar Jun 04 '15 00:06 radicaled

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

hectorfhurtado avatar Jun 04 '15 13:06 hectorfhurtado

@Aza1

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

radicaled avatar Jun 14 '15 00:06 radicaled

@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.

Aza1 avatar Jun 14 '15 10:06 Aza1

@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.

radicaled avatar Jun 14 '15 23:06 radicaled

@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?

Aza1 avatar Jun 15 '15 09:06 Aza1

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 avatar Jun 15 '15 10:06 radicaled

@Aza1

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

radicaled avatar Jun 27 '15 21:06 radicaled

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

Aza1 avatar Jun 28 '15 07:06 Aza1