Discussion:
[dart-misc] Dart Code v1.3 released inc improved Flutter support - feedback wanted!
Danny Tuppeny
2017-05-13 13:42:27 UTC
Permalink
Download: https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code

Thanks to Kyle Bradshaw <https://github.com/Skylled>, Dart Code now has the
beginnings of support for working with Flutter projects :-)

I'm not very familiar with Flutter so I don't know if all the decisions
made here are best so if you're using Flutter please do test it and send
feedback (GitHub issues <https://github.com/Dart-Code/Dart-Code> are best).

I don't know if using FLUTTER_ROOT or FLUTTER_HOME are appropriate, but I
couldn't find much info on them (the goal was to allow new flutter projects
to work without needing you to do something to get an SDK inside the
project folder - feedback or confirmation about this would be appreciated!).


- When opening a Flutter project, the below locations will be checked
for a Flutter SDK and the embedded Dart SDK will be used (if no flutter SDK
is found an error message will be shown)
- `.\bin\flutter(.bat)`
- `(FLUTTER_ROOT)\bin\flutter(.bat)`
- `(FLUTTER_HOME)\bin\flutter(.bat)`
- All folders in `PATH`
- Dart SDK update checks are now disabled for Flutter projects due to
the embedded Dartk SDK
- Pub commands are now generally replaced with Flutter equivilents when
a Flutter project is open (note: Pub commands still appear in the command
palette for familiarity but will execute flutters versions)
- When `flutter: sdk: flutter` is added to/removed from `pubspec.yaml`
you will be prompted to reload to switch between Dart/Flutter SDKs
- Pub commands will no longer appear in the command palette when a Dart
project is not open
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
'Eric Seidel' via Dart Misc
2017-05-13 15:00:13 UTC
Permalink
It looks like FLUTTER_HOME is a typo:
https://github.com/flutter/flutter/search?utf8=%E2%9C%93&q=FLUTTER_HOME&type=
and should be FLUTTER_ROOT like all the rest:
https://github.com/flutter/flutter/search?utf8=%E2%9C%93&q=FLUTTER_ROOT&type=

Filed https://github.com/flutter/flutter/issues/10065
Post by Danny Tuppeny
https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code
Thanks to Kyle Bradshaw <https://github.com/Skylled>, Dart Code now has
the beginnings of support for working with Flutter projects :-)
I'm not very familiar with Flutter so I don't know if all the decisions
made here are best so if you're using Flutter please do test it and send
feedback (GitHub issues <https://github.com/Dart-Code/Dart-Code> are best).
I don't know if using FLUTTER_ROOT or FLUTTER_HOME are appropriate, but I
couldn't find much info on them (the goal was to allow new flutter projects
to work without needing you to do something to get an SDK inside the
project folder - feedback or confirmation about this would be appreciated!).
- When opening a Flutter project, the below locations will be checked
for a Flutter SDK and the embedded Dart SDK will be used (if no flutter SDK
is found an error message will be shown)
- `.\bin\flutter(.bat)`
- `(FLUTTER_ROOT)\bin\flutter(.bat)`
- `(FLUTTER_HOME)\bin\flutter(.bat)`
- All folders in `PATH`
- Dart SDK update checks are now disabled for Flutter projects due to
the embedded Dartk SDK
- Pub commands are now generally replaced with Flutter equivilents
when a Flutter project is open (note: Pub commands still appear in the
command palette for familiarity but will execute flutters versions)
- When `flutter: sdk: flutter` is added to/removed from `pubspec.yaml`
you will be prompted to reload to switch between Dart/Flutter SDKs
- Pub commands will no longer appear in the command palette when a
Dart project is not open
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Danny Tuppeny
2017-05-13 15:30:19 UTC
Permalink
I'll remove FLUTTER_HOME from the next update to avoid confusion then :-)
Post by 'Eric Seidel' via Dart Misc
https://github.com/flutter/flutter/search?utf8=%E2%9C%93&q=FLUTTER_HOME&type=
https://github.com/flutter/flutter/search?utf8=%E2%9C%93&q=FLUTTER_ROOT&type=
Filed https://github.com/flutter/flutter/issues/10065
Post by Danny Tuppeny
https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code
Thanks to Kyle Bradshaw <https://github.com/Skylled>, Dart Code now has
the beginnings of support for working with Flutter projects :-)
I'm not very familiar with Flutter so I don't know if all the decisions
made here are best so if you're using Flutter please do test it and send
feedback (GitHub issues <https://github.com/Dart-Code/Dart-Code> are best).
I don't know if using FLUTTER_ROOT or FLUTTER_HOME are appropriate, but I
couldn't find much info on them (the goal was to allow new flutter projects
to work without needing you to do something to get an SDK inside the
project folder - feedback or confirmation about this would be appreciated!).
- When opening a Flutter project, the below locations will be checked
for a Flutter SDK and the embedded Dart SDK will be used (if no flutter SDK
is found an error message will be shown)
- `.\bin\flutter(.bat)`
- `(FLUTTER_ROOT)\bin\flutter(.bat)`
- `(FLUTTER_HOME)\bin\flutter(.bat)`
- All folders in `PATH`
- Dart SDK update checks are now disabled for Flutter projects due to
the embedded Dartk SDK
- Pub commands are now generally replaced with Flutter equivilents
when a Flutter project is open (note: Pub commands still appear in the
command palette for familiarity but will execute flutters versions)
- When `flutter: sdk: flutter` is added to/removed from
`pubspec.yaml` you will be prompted to reload to switch between
Dart/Flutter SDKs
- Pub commands will no longer appear in the command palette when a
Dart project is not open
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...