Discussion:
[dart-misc] Dart integration for Visual Studio Code; early preview - feedback wanted!
Danny Tuppeny
2016-08-04 16:24:46 UTC
Permalink
Hi all,

I've begun work on a Visual Studio Code extension for Dart (backed onto the
same Analysis Server from the Dart Team that many other integrations and
DartPad use). It's very early but since I don't really have any real world
Dart projects to test it with (I'm hoping this will change with an editor I
can get on with!) the testing has been somewhat limited.

If anyone would like to try it out and send feedback (GitHub issues
<https://github.com/DanTup/Dart-Code/issues>, here, twitter
<https://twitter.com/DanTup>, whatever...) it would be greatly appreciated!

Implemented so far:

- Syntax highlighting
- Code-completion
- Diagnostics (errors/warnings/hints)
- Workspace-wide symbol search
- Reformatting document
- Tooltips

You can download it from the link below (*dart-code-0.1.0.vsix* at the
bottom). The next preview will go into the Code Marketplace, but since this
is super-early I didn't want people installing it there and being annoyed
if stuff is broken:

*https://github.com/DanTup/Dart-Code/releases/tag/v0.1.0
<https://github.com/DanTup/Dart-Code/releases/tag/v0.1.0>*


That page also contains installation instructions and some other notes.
Honestly, I don't know how well it will work for you but if you do try it
out please let me know how you get on; the more feedback I can get the
better :)
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Danny Tuppeny
2016-08-05 15:51:38 UTC
Permalink
I've put a slightly-updated preview in the marketplace now :-)

If you try it out, please let me know how you get on!


https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code


<Loading Image...>
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Hayden Jones
2016-08-05 16:01:06 UTC
Permalink
Is that logo wise? Seems like you're asking for trouble with it.
Post by Danny Tuppeny
I've put a slightly-updated preview in the marketplace now :-)
If you try it out, please let me know how you get on!
https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code
<https://lh3.googleusercontent.com/-FPoIELLvoaU/V6S15peC0pI/AAAAAAABGJY/BkS3RBUnOxg-Zda329_V_PImsHjKwdDaQCLcB/s1600/marketplace%2Bscreenshot.png>
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Danny Tuppeny
2016-08-05 16:06:40 UTC
Permalink
Post by Hayden Jones
Is that logo wise? Seems like you're asking for trouble with it.
Hmmm, I dunno. If I don't upload a logo it shows a greyed VS Code logo, and
I used it years ago for DartVS and nobody at Microsoft seemed to mind. A
few people on the Code team cloned my repo recently (to try and reproduce a
bug) and never mentioned it either.

I'll happily change it if they ask, though personally I don't think there's
any more danger with people thinking it's an MS products as them thinking
using the Dart logo is a Google product.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Robert Åkerblom-Andersson
2016-08-06 17:57:21 UTC
Permalink
I like the logo and don't think it's an issue. Might have been different if
you developed a competing IDE/editor, but this is an addon and it's very
clear what it is.

Cheers, Robert
Post by Danny Tuppeny
Post by Hayden Jones
Is that logo wise? Seems like you're asking for trouble with it.
Hmmm, I dunno. If I don't upload a logo it shows a greyed VS Code logo,
and I used it years ago for DartVS and nobody at Microsoft seemed to mind. A
few people on the Code team cloned my repo recently (to try and reproduce a
bug) and never mentioned it either.
I'll happily change it if they ask, though personally I don't think
there's any more danger with people thinking it's an MS products as them
thinking using the Dart logo is a Google product.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
tomaszkubacki
2016-08-07 09:24:19 UTC
Permalink
Danny,

Opened my ~20K LOC proprietary project and it seems to work ok :)

Fantastic work - Thanks!

Already planning run/debug ?

Cheers,
t.k


W dniu czwartek, 4 sierpnia 2016 18:24:46 UTC+2 uÅŒytkownik Danny Tuppeny
Post by Danny Tuppeny
Hi all,
I've begun work on a Visual Studio Code extension for Dart (backed onto
the same Analysis Server from the Dart Team that many other integrations
and DartPad use). It's very early but since I don't really have any real
world Dart projects to test it with (I'm hoping this will change with an
editor I can get on with!) the testing has been somewhat limited.
If anyone would like to try it out and send feedback (GitHub issues
<https://github.com/DanTup/Dart-Code/issues>, here, twitter
<https://twitter.com/DanTup>, whatever...) it would be greatly
appreciated!
- Syntax highlighting
- Code-completion
- Diagnostics (errors/warnings/hints)
- Workspace-wide symbol search
- Reformatting document
- Tooltips
You can download it from the link below (*dart-code-0.1.0.vsix* at the
bottom). The next preview will go into the Code Marketplace, but since this
is super-early I didn't want people installing it there and being annoyed
*https://github.com/DanTup/Dart-Code/releases/tag/v0.1.0
<https://github.com/DanTup/Dart-Code/releases/tag/v0.1.0>*
That page also contains installation instructions and some other notes.
Honestly, I don't know how well it will work for you but if you do try it
out please let me know how you get on; the more feedback I can get the
better :)
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Danny Tuppeny
2016-08-07 11:25:42 UTC
Permalink
Post by tomaszkubacki
Opened my ~20K LOC proprietary project and it seems to work ok :)
Fantastic work - Thanks!
Great to hear!

Did you install from the Marketplace
<https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code> rather
than one linked in the email you quoted? If not, you should :)

The credit belongs to the Dart Team; I'm really just writing a little glue
between VS Code and their Analysis Service, but I'm glad to hear it's
working well!

I'm going to try and get a new version on the marketplace today with some
improvements that have been made over the weekend.
Post by tomaszkubacki
Already planning run/debug ?
Thing about it, but haven't started looking at whats involved. I think Run
is probably possible on a project-basis with the task stuff already
built-in but I'm sure there's much an extension can to do improve it.

Debugging, I haven't thought much about (other than it'd be a) great and b)
hard) but if it's something I can do then I'd very much like to (it'll be
post-v1 though.. I don't want to hold up a stable v1 release).

Thanks for trying it out; do please send feedback/ideas (ideally GH issues,
but emails/tweets/whatever are fine too!).

If you're on twitter and want notification of updates (not sure how well VS
Code notifies of these) follow @dart_vscode
<https://twitter.com/dart_vscode> and click the Star to turn on
notifications! :)
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Danny Tuppeny
2016-08-07 14:12:18 UTC
Permalink
I've pushed an updated build with a bunch of improvements:

https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code

A big thanks to Devon Carew for a bunch of these contributions :-)

Release Notesv0.6.0 *(2016-08-07)*

Another preview release to gather feedback on important things missing for
v1. This version should be installed from the marketplace
<https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code>.

- A new option dart.showTodos (default: true) has been added to
show/hide TODO messages from the Problems list
- "Analyzing
" will now show in the status bar when files are being
analyzed
- Go to Definition is now supported within your project (though does not
yet work with SDK classes)
- The Dart SDK version number will now show in the bottom right status
bar
- Dart files will automatically be set to 2-space indenting when you
open them
- A new option dart.setIndentation (default: true) has been added to
enable/disable automatic indent settings
- Symbol search is now case-insensitive and also supports better
filtering (eg. "TA" will match "TwitterApi")
- Tooltips reading undefined will no longer appear for some items (eg.
string literals)
- Tooltip formatting/display has been greatly improved
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...