xxgreg / dartlang

An experimental Dart plugin for Atom.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dart plugin for Atom

An experimental Dart plugin for Atom. This plugin is written in Dart.

Build Status

Screenshot of Dart plugin in Atom

Installing

  • 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).

Features

  • auto-discovery of Dart SDK location
  • syntax highlighting
  • as-you-type errors and warnings
  • code completion
  • F1 to see dartdocs
  • F3 or option-click to jump to defintion
  • pub commands (get and update) are available via context menus

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.

Sending feedback

Please file feature requests and bugs at the issue tracker.

Developing the plugin

Check out how to develop.

Logging

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).

License

See the LICENSE file.

About

An experimental Dart plugin for Atom.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 65.8%Language:HTML 30.2%Language:CoffeeScript 2.4%Language:CSS 1.6%Language:Shell 0.1%