Git Product home page Git Product logo

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.

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, ... ?

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

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.

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.

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.

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.