Code Monkey home page Code Monkey logo

dart-code's Introduction

Installation

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

Features

  • Syntax highlighting
  • Code completion
  • Realtime errors/warnings/TODOs reported in problems window (Ctrl+Shift+M) and with squiggles
  • Hovers/tooltip information
  • Go to Definition (F12)
  • Find References (Shift+F12)
  • Excute Dart command line apps (F5)
  • Debugging support for command line apps (F5)
  • Support for debugging just user code or SDK/libraries too
  • Code fixes/lightbulb (Ctrl+. and F8)
  • Notification of new stable Dart SDK releases
  • Type hierarchy (F4)
  • Rename refactoring (F2)
  • Organise directives (Ctrl+Alt+O)
  • Format document with custom line length (Alt+Shift+F)
  • Support for formatting-during-typing
  • Workspace-wide symbol search (Ctrl+T)
  • Auto-closing braces/quotes
  • Document symbol list/search with highlighting (Ctrl+Shift+O)
  • Generation of analysis error reports for easy reporting to the Dart team
  • pub get and pub upgrade commands
  • Automatically run pub get when pubspec.yaml is saved
  • Supports strong mode and linting (configured in analysis_options.yaml or .analysis_options)
  • Other references to symbol under cursor are highlighted
  • Automatically finds Dart SDK if it is in your PATH environment variable

Extension Settings

  • dart.allowAnalytics: Note: We only send a few basic events and version numbers (see below) :-)
  • dart.checkForSdkUpdates: Whether to check you are using the latest version of the Dart SDK at startup. Defaults to true.
  • dart.debugSdkLibraries: Whether SDK libraries should be marked as debuggable. Defaults to false.
  • dart.debugExternalLibraries: Whether libraries should be marked as debuggable. Defaults to false.
  • dart.insertArgumentPlaceholders: Whether to insert argument placeholders during code completions. Defaults to true.
  • dart.lineLength: The maximum length of a line of code. This is used by the document formatter. Defaults to 80.
  • dart.pubAdditionalArgs: Additional args to pass to pub get and pub upgrade commands (eg. --packages-dir).
  • dart.runPubGetOnPubspecChanges: Whether to automatically run pub get whenever pubspec.yaml is saved. Defaults to true.
  • dart.sdkPath: If the Dart SDK is not automatically found on your machine from your PATH you can enter the path to it here.
  • dart.showTodos: Whether to show TODOs in the Problems list. Defaults to true.

Analytics

This extension reports some basic events and timings to help inform development decisions, such as:

  • Extension is loaded
  • Some settings (TODOs shown, whether you're debugging all code / your code)
  • Timings (how long did extension take to load / how long till analysis server was ready)
  • Crashes in the Dart analysis server

Included in the event is your platform (Win/Linux/Mac) and extension/Dart version numbers.

This can be disabled via the dart.allowAnalytics setting.

Release Notes

Full release notes can be found on GitHub.

dart-code's People

Contributors

dantup avatar devoncarew avatar ikhwanhayat avatar jrote1 avatar sharwell avatar a14n avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.