Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dart plugin for Visual Studio

Does anyone know if there is a designer or plugin for Visual Studio for Dart, similar to the Dart Editor?

like image 426
Robert Slaney Avatar asked Oct 16 '12 23:10

Robert Slaney


People also ask

Can I use Visual Studio for Dart?

With the Dart plugin, you can use Visual Studio Code (VS Code) to develop Dart apps.

How do I add darts to Visual Studio?

Open Visual Studio Code, then press the Extensions icon (or press Ctrl+Shift+X), and find extension(s) with the keyword "dart" as illustrated below. You will see the Dart Code Extension appear in the first position in the results. Now, press "Install" for installation.

Can I use Visual Studio for Flutter?

Installing Flutter in Visual Studio Code: We can easily download it from the official website of Flutter. Step 2: Set Environment variable path. After downloading Flutter SDK, extract the file and copy the path of the bin folder. Now click on new and paste the path that was copied earlier and save.


Video Answer


1 Answers

Edit: Dart Code, my Dart extension for Visual Studio Code is much more complete than the VS extension I made (includes a working debugger and some flutter integration).


Original answer:

As nobody else seemed to be doing it, I decided to have a stab at this. It's very incomplete, but I've started working on an extension:

Dart Visual Studio integration

http://visualstudiogallery.msdn.microsoft.com/69112f14-62d0-40fb-9ccc-03e3534e7121

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 still some way off release :(

A list of planned features for the next release can be found on GitHub:

https://github.com/DartVS/DartVS/issues?q=is%3Aissue+milestone%3A0.8

like image 67
Danny Tuppeny Avatar answered Sep 29 '22 11:09

Danny Tuppeny