Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DartNew to Visual Studio Code? Get it now.
Dart

Dart

Dart Code

dartcode.org
|
12,024,930 installs
| (83) | Free
Dart language support and debugger for Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Discord Chat Follow on Twitter Follow on Bluesky Contribute to Dart Code

Introduction

Dart Code extends VS Code with support for the Dart programming language, and provides tools for effectively editing, refactoring, running, and reloading Flutter mobile apps.

Installation

Dart Code can be installed from the Visual Studio Code Marketplace or by searching within VS Code.

If you have any issues using Dart Code, please file issues on GitHub at https://github.com/Dart-Code/Dart-Code/issues/new/choose.

Features

  • Edit and Debug Flutter mobile apps (launch using F5 or the Debug menu)
  • Edit and Debug Dart command line apps (launch using F5 or the Debug menu)
  • Automatic hot reloads for Flutter
  • Refactorings and Code fixes (lightbulb)
  • Quickly switch between devices for Flutter
  • Flutter Doctor command
  • Flutter Get Packages command
  • Flutter Upgrade Packages command
  • Automatically gets packages when pubspec.yaml is saved
  • Automatically finds SDKs from PATH
  • Notification of new stable Dart SDK releases
  • Sort Members command
  • Support for debugging "just my code" or SDK/libraries too (dart.debugSdkLibraries and dart.debugExternalPackageLibraries)
  • Prompts to get packages when out of date
  • Syntax highlighting
  • Code completion
  • Snippets
  • Realtime errors/warnings/TODOs
  • Documentation in hovers/tooltips
  • Go to Definition
  • Find References
  • Rename refactoring
  • Format document
  • Support for format-on-save (editor.formatOnSave)
  • Support for format-on-type (editor.formatOnType)
  • Workspace symbol search
  • Document symbol search
  • Organize Imports command
  • Pub Get Packages command
  • Pub Upgrade Packages command
  • Type Hierarchy

Extension Settings

A full list of settings is available here.

Frequently Asked Questions

A list of frequently asked questions is available here.

Key Bindings

A list of useful key bindings is available here.

Refactorings and Code Fixes

A full list of supported refactors is available here.

Analytics

This extension reports some analytics such as:

  • Extension load and analysis times
  • Version numbers for the Dart/Flutter extensions and SDKs
  • The values of some settings (such as Flutter UI Guidelines and Format-on-Save)
  • Frequency of use of features like Hot Reload and Hot Restart

Reporting can be disabled via VS Code's standard Telemetry: Telemetry Level setting.

Release Notes

For full release notes, see the changelog.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft