dart-mode
- Description
- Major mode for editing Dart files
- Latest
- dart-mode-1.0.7.tar (.sig), 2024-Mar-31, 40.0 KiB
- Maintainer
- Atom feed
- dart-mode.xml
- Website
- https://github.com/bradyt/dart-mode
- Browse ELPA's repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install
or list-packages
.
Full description
Major mode for editing Dart files. Provides basic syntax highlighting and indentation.
Old versions
dart-mode-1.0.6.tar.lz | 2021-Aug-30 | 17.4 KiB |
dart-mode-1.0.4.tar.lz | 2021-Aug-29 | 30.5 KiB |
News
1.0.0
Additions
Added a
dart-show-hover
command bound toC-c ?
which displays information about the Dart API under the cursor.Added a
dart-goto
command bound toC-c C-g
which takes the user to the definition of the Dart API under the cursor.Added a
dart-find-refs
command bound toC-c C-f
which shows a list of references to the Dart API under the cursor.Added a
dart-find-member-decls
command bound toC-c C-e
which shows a list of declarations of members with a given name.Added a
dart-find-top-level-decls
command bound toC-c C-t
which shows a list of declarations of top-level elements with a given name.Added a
dart-find-member-refs
command bound toC-c C-r
which shows a list of references to members with a given name.Added a
dart-expand
command bound toM-/
which cycles through possible completions for the text typed by the user, as well as adart-expand-parameters
command bound toM-?
which inserts the parameter list for the chosen completion.The
dart-format
command is now bound toM-o
.Added a
dart-sdk-path
variable.
Replacements
dart-executable-path
is now a function rather than a variable, so that it updates whendart-sdk-path
is updated.The
dartfmt-command
variable has been replaced by thedart-formatter-command
(for invoking the formatter) function and thedart-formatter-command-override
variable (for customizing the formatter location).The
dartfmt
command been renamed todart-format
.The
dartfmt-args
variable has been replaced with thedart-formatter-line-length
variable.The
dartfmt-show-errors
variable has been renamed todart-formatter-show-errors
.The
dartfmt-before-save
function has been removed. Customize thedart-format-on-save
variable instead..
Removals
The
dart-analysis-server-snapshot-path
variable has been removed.The
dartfmt-compilation-regexp
variable has been removed.