Dart-Code

Dart and Flutter support for VS Code

MIT License

Stars
1.5K
Committers
60

Bot releases are visible (Hide)

Dart-Code - Dart Code v0.15.0

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

Changes

  • Tooltips will now show include the name of the library that a type comes from.
  • When the Organise Directives command fails (eg. due to a compile error) the correct message will be displayed instead of [Object object]
Dart-Code - Dart Code v0.14.9

Published by DanTup almost 8 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

Changes

  • Completing named arguments that already have values will no longer cause the argument name to be inserted twice.
Dart-Code - Dart Code v0.14.8

Published by DanTup almost 8 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

Changes

  • An error message about the "new driver" will no longer appear when using version v1.22.0-dev.5.0 or later of the Dart SDK.
Dart-Code - Dart Code v0.14.7

Published by DanTup almost 8 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

Changes

  • Code completion will no longer insert underscore characters after upgrading to Code 1.8.

Note: This version requires Visual Studio Code 1.8.

Dart-Code - Dart Code v0.14.6

Published by DanTup almost 8 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

Changes

  • Using the experimental analysis driver will no longer result multiple error reports being offered when an error occurs
Dart-Code - Dart Code v0.14.5

Published by DanTup almost 8 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

Changes

  • Passing additional arguments to the analysis server via the hidden setting dart.analyzerAdditionalArgs now works as expected
  • Generated error reports will now include which analysis server arguments were used
  • Generated error reports will now include which type of request the server was processing
  • Generated error reports may now include additional diagnostic information from the analysis server
  • Generated error reports will now include some intro text encouraging the user to review the report for any sensitive information
Dart-Code - Dart Code v0.14.4

Published by DanTup almost 8 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

Changes

  • Some additional debugging settings have been added to help track down analysis server issues
  • Changing analysis server debug settings will now prompt you to reload the project to restart the analysis server
  • Some minor tweaks have been made to the error report generation when the analysis service crashes
  • Exception analytics should no longer sometimes include users source code paths/filenames in logs
Dart-Code - Dart Code v0.14.3

Published by DanTup almost 8 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

Changes

  • When changing the dart.sdkPath setting you will now be prompted (and given a button) to reload the project
  • If the analysis service crashes and analytics are enabled, the first line of the error message will be included in an analytics event
Dart-Code - Dart Code v0.14.2

Published by DanTup almost 8 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

Changes

  • Fix to fix for analytics :(
  • Add timings for extension activation and analysis server startup
Dart-Code - Dart Code v0.14.1

Published by DanTup almost 8 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

Changes

  • Minor update to improve session handling for analytics
Dart-Code - Dart Code v0.14.0

Published by DanTup almost 8 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

Changes

Note: Due to use of new APIs, Dart Code v0.14 requires Visual Studio Code v1.6 or newer.

Debug Just My Code

New options have been added controlling whether to step into SDK and external library code when debugging. When first opening Dart Code with this change you will be prompted to choose whether to "Debug just my code" or "Debug all code". You can change this at any time with the dart.debugSdkLibraries and dart.debugExternalLibraries options.

Analysis Server Error Reporting

If the analysis server encounters an error you will now be prompted (up to 3 times per session) to report the issue to the Dart team. Clicking "Generate error report" will build a document of markdown that you can simple copy/paste directly into the Dart SDK issue tracker (linked at the top of the report).

Misc

Dart-Code - Dart Code (preview) v0.11.0

Published by DanTup almost 8 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

Changes

  • Code fixes have been added! Use Ctrl+. for the lightbulb menu or F8 for diagnostics widget
  • pub get will run automatically when you save pubspec.yaml (can be disabled with the dart.runPubGetOnPubspecChanges setting)
  • Completion for methods/constructors now adds placeholders for mandatory arguments
  • Completion for named arguments now adds a placeholder for the value
  • Pressing <ENTER> in a triple-slash comment (/// ...) will now pre-complete the comment markers for the next line
  • Pressing <ENTER> in an old-style multiline comment (/** ... */) will now pre-complete following lines and place the closing marker (*/) in the right position
  • Hovers will no longer contain hyperlinks that don't work when docs reference other elements
  • Display improvements to hovers/tooltips (these are not finished and will continue to be improvedin future releases)
  • Completion now shows when an element is deprecated
  • Hovers will now show when an element is deprecated (note: requires Dart SDK 1.20, currently unreleased)

Additionally there were some performance improvements, the beginning of automated testing and some additional diagnostic settings (to help users provide more detailed information if they encounter bugs).

Many bugs have been fixed by Microsoft and the Dart team that affect Dart Code so please be sure to upgrade to the latest versions of Code (1.5) and the Dart SDK (1.19.1).

External fixes

  • If you are using Dart SDK >= 1.19 then Go to Definition will now work on references to items in the SDK
  • If you are using VS Code >= 1.5 then cursor position will be maintained correctly during a reformat

Known Issues

  • Some debugging features (such as evaluation/watch) may not work correctly inside methods that use await
    This is an SDK bug affecting 1.19 and earlier and should work correctly when you use version 1.20 of the SDK (which is unreleased at time of this Dart Code release)
  • If you open an SDK file and try to use Go to Definition from inside it, it will not work
    This is an SDK bug affecting 1.19 and earlier and should work correctly when you use version 1.20 of the SDK (which is unreleased at time of this Dart Code release)
Dart-Code - Dart Code v0.13.1

Published by DanTup almost 8 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

Changes

  • Code completion should no longer occasionally fail showing Loading...
  • Invoking Go to Definition on import statements should no longer occasionally fail silently
Dart-Code - Dart Code v0.13.0

Published by DanTup almost 8 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

Changes

  • Support has been added to format documents while typing (you must enable editor.formatOnType). This currently triggers when you type ; or }. Please send feedback!

External fixes

Upgrading to the recently-released Dart SDK v1.20 will also get you the following fixes:

  • Analysis server will no longer crash on Windows when typing imports that start with con
  • Dart docs will now correctly appear in code completion for your own functions
  • Watch/hover/repl evaluation while debugging now works for async methods
Dart-Code - Dart Code v0.12.0

Published by DanTup about 8 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

Changes

  • A new "type hierarchy" feature has been added (F4)
  • The "Preview" tag has been removed from Dart Code
  • The VS Code version number is now included in analytics to help make decisions about when code supporting older versions of Code can be removed
Dart-Code - Dart Code (preview) v0.11.2

Published by DanTup about 8 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

Changes

  • If the Dart analysis server crashes you will now be prompted to save and reload the project (rather than everything being silently broken)
Dart-Code - Dart Code (preview) v0.11.1

Published by DanTup about 8 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

Changes

  • An option has been added (dart.insertArgumentPlaceholders) to turn off placeholder insertion during completion operations
  • More improvements have been made to hovers (these appear best in Code 1.6, currently the Insiders build)
  • Large lists will now be "paged" in the debugger locals/watch windows to improve performance
  • The SDK update notification now has a button to jump directly to the Dart SDK download page
Dart-Code - Dart Code (preview) v0.10.0

Published by DanTup about 8 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

Changes

  • Debug support has been added! Breakpoints, hover evaluation, watch window, call stack etc. should all work (with some minor known issues)
  • Rename (F2) now works for most items
  • The update check for SDKs now connects to the internet to check for updates instead of using a hard-coded last-known-update value
  • A new option has been added to disable SDK update checks/notifications (dart.checkForSdkUpdates)
  • Properties will now display better in completion/symbol lists and not as callable methods
  • SDK paths that have been removed from settings will no longer continue to be searched at startup
  • Indent settings for pubspec.yaml and analysis_options.yaml will now also be forced into 2-spaces at load (if dart.setIndentation has not been set to false)

External fixes

  • If you are using Dart SDK >= 1.19 then Go to Definition will now work on references to items in the SDK

Known Issues

  • Some debugging features (such as evaluation/watch) may not work correctly inside methods that use await
    This is an SDK bug affecting 1.19 and earlier and should work correctly when you use version 1.20 of the SDK (which is unreleased at time of this Dart Code release)
  • If you open an SDK file and try to use Go to Definition from inside it, it will not work
    This is an SDK bug affecting 1.19 and earlier and should work correctly when you use version 1.20 of the SDK (which is unreleased at time of this Dart Code release)
  • Cursor position will not be maintained correctly during a reformat
    This should work correctly when you use version 1.5 of VS Code (which is only available as an Insiders build at the time of this Dart Code release)
Dart-Code - Dart Code (preview) v0.9.0

Published by DanTup about 8 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

Changes

  • A warning will be shown at startup if your Dart SDK is older than the one the current Dart Code was tested with
  • If you have multiple open Dart projects using different versions of the SDK, running a command line app (F5) will no longer use the SDK from the last Dart project opened
  • Various improvements have been made to the display of search results and code-completion items
  • Snippets have been added for common code (main, try, switch, import, class, typedef and more!)
  • Errors will no longer occur trying to run pub get or pub upgrade if your SDK is in a path that contains spaces
Dart-Code - Dart Code (preview) v0.8.2

Published by DanTup about 8 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

Changes

  • The display of symbols in the workspace symbol search (Ctrl+T) has been improved *
  • The Dart language service will no longer crash when you enter symbols into the (Ctrl+T) search box
  • Pressing F5 will now allow you to run a Dart command line application (you will need to set the path in .vscode\launch.json) **
  • Organise Directives (ctrl+alt+o) has been added

Known Issues

  • Filenames may not display correctly in the stable version (1.4) of Code but will be fine in the Insiders version (and the next stable release)
    ** Currently reading from stdin will cause the program to hang; this will be addressed in an upcoming release