- install Atom
- install the linter package
- install this dartlang package
- (potentially) configure the location of your Dart SDK
The plugin should auto-detect the Dart SDK location. If not, you can set it
manually in the plugin configuration page (Preferences > Packages > dartlang
).
We also recommend the following (optional) packages:
- last-cursor-position: helps you move between cursor location history (useful when using "jump to definition")
- auto-discovery of Dart SDK location
- syntax highlighting
- as-you-type errors and warnings
- code completion
F1
to see dartdocsF3
(or option-click) to jump to definitionF4
to see a type hierarchy- find references to classes and methods
- rename refactoring
- pub commands (get and update) are available via context menus
- view type hierarchy
A lot of Atom's functionality is surfaced via named commands. You can see all
the available commands by hitting shift-command-p
.
To view detailed info about what the analysis server is doing, run the
analysis server status
command.
Please file feature requests and bugs at the issue tracker.
Check out how to develop.
You can change the logging level for the plugin in the config file. Go to
Atom > Open Your Config
and find the dartlang
section. Add a
line for logging
, and set it to a value like info
, fine
, all
, or none
.
All the values from the logging
pub package are legal. The log messages will
show up in the devtools console for Atom (View > Developer > Toggle Developer Tools
).
See the LICENSE file.