gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[NonGNU ELPA] Dart-Mode version 1.0.7


From: ELPA update
Subject: [NonGNU ELPA] Dart-Mode version 1.0.7
Date: Sun, 31 Mar 2024 07:08:35 -0400

Version 1.0.7 of package Dart-Mode has just been released in NonGNU ELPA.
You can now find it in M-x list-packages RET.

Dart-Mode describes itself as:

  =================================
  Major mode for editing Dart files
  =================================

More at https://elpa.nongnu.org/nongnu/dart-mode.html

## Summary:

  This package implements a major-mode for the Dart language,

## Recent NEWS:

## 1.0.0

### Additions

* Added a `dart-show-hover` command bound to `C-c ?` which displays information
  about the Dart API under the cursor.

* Added a `dart-goto` command bound to `C-c C-g` which takes the user to the
  definition of the Dart API under the cursor.

* Added a `dart-find-refs` command bound to `C-c C-f` which shows a list of
  references to the Dart API under the cursor.

* Added a `dart-find-member-decls` command bound to `C-c C-e` which shows a list
  of declarations of members with a given name.

* Added a `dart-find-top-level-decls` command bound to `C-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 to `C-c C-r` which shows a list
  of references to members with a given name.

* Added a `dart-expand` command bound to `M-/` which cycles through possible
  completions for the text typed by the user, as well as a
  `dart-expand-parameters` command bound to `M-?` which inserts the parameter
  list for the chosen completion.

* The `dart-format` command is now bound to `M-o`.

* Added a `dart-sdk-path` variable.

### Replacements

* `dart-executable-path` is now a function rather than a variable, so that it
  updates when `dart-sdk-path` is updated.

* The `dartfmt-command` variable has been replaced by the
  `dart-formatter-command` (for invoking the formatter) function and the
  `dart-formatter-command-override` variable (for customizing the formatter
  location).

* The `dartfmt` command been renamed to `dart-format`.

* The `dartfmt-args` variable has been replaced with the
  `dart-formatter-line-length` variable.

* The `dartfmt-show-errors` variable has been renamed to
  `dart-formatter-show-errors`.

* The `dartfmt-before-save` function has been removed. Customize the
  `dart-format-on-save` variable instead..

### Removals

* The `dart-analysis-server-snapshot-path` variable has been removed.

* The `dartfmt-compilation-regexp` variable has been removed.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]