Bot releases are hidden (Show)
Published by DanTup about 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
.dart
file rather than only if it contains a pubspec.yaml
file or when a .dart
file is specifically opened.packages
files that are not consistent with those generated by pub
(for example, the hand-maintaned one in the Dart SDK repo)Closing Labels preview
has been updated to use functionality provided by the Dart SDK which will result in better performance and improved labels (this requires SDK v1.25.0-dev.11.0
or later)dart.previewClosingLabels
- Show annotations against constructor, method invocations and lists that span multiple linesdart.previewAnalyzeAngularTemplates
- Enables analysis for AngularDart templates (requires the angular_analyzer_plugin)Published by DanTup about 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
dart.previewAnalyzeAngularTemplates
- Enables analysis for AngularDart templates (requires the angular_analyzer_plugin)dart.previewFlutterCloseTagDecorations
- Show annotations against Flutter/Fuchsia widget constructor calls that span multiple linesPublished by DanTup about 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
dart.previewFlutterCloseTagDecorations
- Show annotations against Flutter/Fuchsia widget constructor calls that span multiple linesPublished by DanTup about 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
dart.previewFlutterCloseTagDecorations
preview feature has had several improvements
Widget
-returning method instead of only methods named build
//
instead of /
const
constructor calls as well as those using new
dart.previewFlutterCloseTagDecorations
- Show annotations against Flutter/Fuchsia widget constructor calls that span multiple linesPublished by DanTup about 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
flutterHotReloadOnSave
has been added to force a hot reload upon saving (if there are no errors in the file being saved)Full Restart
command is now available during Flutter debugging sessions for a full restartAdditionally, a new prototype editor feature is available for Flutter projects to improve readability of build
methods, see #383 for details.
Published by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
Several new commands have been added to aid Flutter debugging. These appear in the command palette but can be bound to keys in the Keyboard Shortcuts window in Code.
Additionally the default hotkey for Organize Directives
has been removed to avoid a warning from Code about modifier keys. You can rebind this command in Code's Keyboard Shortcuts window.
Published by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
hot reload
firstSort Members
command has been addedStart without debugging
will no longer error if this is the first time running a project (where the .vscode\launch.json
file does not exist)sdkContainer
has been added which can be used for fast SDK switching - set to a folder that contains multiple SDKs and the Dart SDK version in the status bar will become clickablePublished by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
flutter doctor
PATH
even when they start with ~/
for a users home directory~/
for a users home directoryshowLintNames
) which will prefix lint/hint names into messages in the Problems
pane to make it easier to // ignore
them if you wishPublished by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
v2.0 is a major update that adds significant flutter support, including debugging and hot reload!
Note: If you previously installed a beta version of Dart Code to help with testing Flutter integration, please uninstall it and close all Code instances before installing v2.0 from the marketplace.
F5
will build and launch your app on the selected deviceRestart
button (or Ctrl+Shift+F5
) has been mapped to Flutter's hot reload
and will update the running application without needing to rebuildThe contributing file has also been updated to make it easier to get started with contributing to Dart Code.
Published by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
Note: This version requires Visual Studio Code 1.13.
test
and group
methods defined in the test
packagepubspec.yaml
anywhere in the tree, not just in the workspace root folderDebug Output
window when launching a debug sessionPublished by DanTup over 7 years ago
This is a beta release from the Flutter branch. Please test and report general feedback at #318 or raise issues for problems. If you don't have issues, please still post in #318 and include which platform you're using to help gauge stability!
Published by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
$
symbols will now highlight correctlylaunch.json
easierPublished by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
Wrap in new widget
in Flutter projects)space
, (
, =
) which should result in more accurate results more oftenpubspec.yaml
and analysisoptions.yaml
will once again use the built-in YAML language/highlighting.packages
file will now also be used when trying to locate the Flutter SDKFLUTTER_HOME
is not recommended for use and will no longer be used to locate a Flutter SDK (FLUTTER_ROOT
is still checked)Published by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
.\bin\flutter(.bat)
(FLUTTER_ROOT)\bin\flutter(.bat)
(FLUTTER_HOME)\bin\flutter(.bat)
PATH
flutter: sdk: flutter
is added to/removed from pubspec.yaml
you will be prompted to reload to switch between Dart/Flutter SDKsPublished by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
packages
which is not currently supported by the analyzer. In order to fix the issue for the Flutter repo the workaround will be triggered by the presence of a .\packages\.gitignore
file (which exists in the Flutter repo but not in packages
folders created by pub
). This workaround will be removed once the Analyzer has been updated.Published by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
launch.json
file should now be much simpler than before and not contain internal Dart Code settings that are not relevant to the user *launch.json
file now properly supports default so checkedMode: true
and args: []
are not longer required unless being changed ** Your launch.json file should automatically be tidied up when you first open your project.
Published by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
interface
has been removed from the list of keywords for syntax highlighting. It has not been a Dart keyword for sometime and resulted in incorrect colouring when using it as a variable namePublished by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
Go to Definition
on an SDK type) when using a dev-version 1.23 Dart SDK will no longer result in an infinite analyzing loop causing Analyzing...
to flicker on the status barPublished by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
launch.json
checked mode
by defaultpubAdditionalArgs
) that allows additional arguments to be passed to pub
in the Pub Get
and Pub Upgrade
commands (this may be useful if you wish to use --packages-dir
)Published by DanTup over 7 years ago
Dart Code can be installed from the Visual Studio Code Marketplace. Open VS Code Quick Open (Ctrl+P
) and paste the following and press enter:
ext install dart-code
null
would something appear in tooltips for items with no doc comments.