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 :(
- Use DartAnalyzer from the SDK when saving any .dart file and report errors/warnings/hints to the Visual Studio error list
- Clicking errors navigates to the correct place in code
- Mostly-reliable Syntax Highlighting
- Switch to Google's Dart analysis service
- Reliable Syntax Highlighting
- Show errors "live" without having to save
- Show error window automatically when errors exist
- Show errors with squiggles in the editor
- Tooltips to show doc comments
- Show Dart icon for .dart files
- Go to Definition
- Format Document
- Show outline navigation bars at top of editor
- Code Completion
- Dart icon for .dart files
- Remove hard-coded references to analysis service
- Automatically format block on closing brace
- Highlight other references to selected item
- Find References
- Code Folding
- Test Support
- Debugging
- Project System
- Refactorings
- Snippets
- Automatic insertion of comment lines when typing Dart docs
- Install from the Visual Studio Gallery
- Download and unzip the Dart SDK
- Set the DART_SDK environment variable to point at the SDK root
Please send your feedback/issues/feature requests! :-)
- GitHub Issues: DartVS/issues
- Twitter: @DanTup
- Google+: Danny Tuppeny
- Email: [email protected]