Code Monkey home page Code Monkey logo

dart-code's Introduction

Discord Chat Follow on Twitter 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

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.

dart-code's People

Contributors

343max avatar bootblock avatar dantup avatar dependabot[bot] avatar devoncarew avatar domesticmouse avatar ened avatar guidezpl avatar helin24 avatar ikhwanhayat avatar jrote1 avatar kevmoo avatar marcustomlinson avatar mit-mit avatar naveensrinivasan avatar nilsreichardt avatar phrohdoh avatar pouyakary avatar pulyaevskiy avatar rkirsling avatar rlch avatar rmagatti avatar semvrij avatar sharwell avatar simolus3 avatar stuartmorgan avatar tfriem avatar tomgilder avatar xqwzts avatar yyoon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dart-code's Issues

SDK path detection on Linux / Mac is not reliable

package installs successfully, after restart i get error message that sdk is not on path and must be configured in settings.
i have dart sdk in PATH and configuration of sdk in settings is not possible.

Review outline ranges in document symbol provider

(Splitting this out of #45 because that's merged and getting long...)

@devoncarew

I noticed that with the current document outlines, the highlights aren't the same as TypeScript (which highlights a whole class/method/whatever):

TS outline

If I change the code to use the offset/length from the outline instead of the element it's much closer, but seems to include whitespace before it (so the closing } of a method is highlighted for the next method; I think this is by design based on earlier discussions with BW on the analyzer list).

I think I could make it work the same by using the start position from element but the end from outline (Code seems to always highlight full lines), however it feels a little bit wonky.

What do you think?

Cannot locate Dart SDK

This looks exiting! I tried to install on a Mac, but I get the error that it cannot locate the Dart SDK (Dart-Code: Could not find a Dart SDK to use. Please add it to your PATH or set it in the extensions settings and reload).

I tried to configure it like this, but I still get the error:

$ cat "$HOME/Library/Application Support/Code/User/settings.json"
// Place your settings in this file to overwrite the default settings
{
    "dart.sdkPath": "/usr/local/Cellar/dart/1.18.1/"
}
$

Dartdoc tooltips are not rendered as expected

Currently the tooltips stack the doc comment and type, one right after the other. I think it would be easier to read if there was an extra new line between them.

Also It would be nice if the doc comments were formatted via markdown.

Fix optional values in generated typescript classes

Currently we need to provide all properties when creating instances of types. TypeScript doesn't seem to allow class-level fields to be optional so need to see what the options are (properties instead of fields? constructors?). Example here.

Rename from "Dart-Code" to "Dart Code"

I don't see a lot of hyphens in the names of VSCode extensions. Dart would be ideal, but I guess already taken. Perhaps coordinate w/ the other plugin author? Or change the name to DartCode, Dart Code, Dart Tooling, ... ?

Get tests running on AppVeyor

Makes sense to look at the testing capabilities. I've added to appveyor (currently only runs tsc) but if we can run them there even better.

Add pub commands

It would be nice to have the ability to run pub commands in the editor.

The Atom plugin has the following:

  • pub run
  • pub get
  • pub upgrade
  • pub global run
  • pub global activate

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.