Skip to content

DartVS/DartVS

Repository files navigation

NOTE: This software is not being actively developed or maintained, however a Dart integration for Visual Studio Code is which can be found in the Visual Studio Marketplace and on GitHub

DartVS: Google Dart support for Visual Studio

Screenshot of DartVS

IMPORTANT!

The current version of DartVS available to install (v0.6) in Visual Studio is very basic and uses regex for syntax highlighting, and shells out to DartAnalyzer on a per-file basis for errors/warnings. This is not terribly reliable!

A new version of the extension (v0.8/v1) is in-progress which uses Google's Dart Analysis service and is much faster and more reliable, however it's not yet ready for release :(

  • Live in v0.6
    • Use DartAnalyzer from the SDK when saving any .dart file and report errors/warnings/hints to the Visual Studio error list
    • Clicking errors navigates to the correct place in code
    • Mostly-reliable Syntax Highlighting
  • In Development for v1
  • Planned for after v1

Installation

Using a custom SDK

If you wish to use a different version of the SDK than the one bundled with DartVS (for example, a dev channel build), you can:

  • Download and unzip a Dart SDK
  • Set the DART_SDK environment variable to point at the SDK root

Feedback

Please send your feedback/issues/feature requests! :-)