-
Notifications
You must be signed in to change notification settings - Fork 43
Experimental
If you want to run experimental features, follow these steps:
In your Dart User preferences:
"dart_enable_experimental_editor_features": true
Also, disable the old linter:
"dart_linter_active": false
Install the dev version of the Dart SDK (1.7.0 or above).
Restart Sublime Text.
If you now open a Dart project, you should get live syntax errors for Dart code. At this stage, if the analysis server isn't working for you, it doesn't make sense to spend too much time debugging it. Error reports welcome, though!
Notes:
The analysis server integration has only been tested with very small projects. In fact, I tried it with the Chrome Dev Editor project and it didn't work.
There appears to be a bug in ST (unconfirmed) whereby a view won't report it's dirty. This will cause the analyzer to not update error data for unsaved edits to buffers.
The analyzer won't be able to locate the active view if multiple panes are used. Use a single pane.