dart_ctags 1.0.0

Vim compatible tags file for dart. #

Now with native Tagbar support!

Example #

Install from pub #

$ pub global activate dart_ctags

Install from Github #

$ git clone https://github.com/nerdrew/dart-ctags.git
$ cd dart-ctags
$ pub global activate -s path .

Recommended Post-Installation #

The installation of the dart_ctags executable from pub is not a compiled binary. These steps will overwrite the bash script placed by pub in the bin folder for dart_ctags with a natively compiled bin that is significantly faster.

Installed from pub #
$ cd $(find ~/.pub-cache/hosted -type d -name "dart_ctags*") && pub get
$ dart2native bin/tags.dart -o ~/.pub-cache/bin/dart_ctags
Installed from Github #
$ cd ~/git_repo_of_dart_ctags
$ dart2native bin/tags.dart -o ~/.pub-cache/bin/dart_ctags

Use #

# make sure that pub-cache/bin is in your path
# export PATH="$PATH":"$HOME/.pub-cache/bin"

$ cd ~/dev/your-dart-project
$ dart_ctags -l -o .git/tags

Help #

dart_ctags -h
Usage:
  dart_ctags [OPTIONS] [FILES...]
  pub global run dart_ctags:tags [OPTIONS] [FILES...]

-o, --output=<FILE>     Output file for tags (default: stdout)
    --follow-links      Follow symbolic links (default: false)
    --include-hidden    Include hidden directories (default: false)
-l, --line-numbers      Add line numbers to extension fields (default: false)
    --skip-sort         Skip sorting the output (default: false)
-h, --help              Show this help

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate dart_ctags

2. Use it

The package has the following executables:


$ dart_ctags
Popularity:
Describes how popular the package is relative to other packages. [more]
19
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
69
Overall:
Weighted score of the above. [more]
53
Learn more about scoring.

We analyzed this package on Jan 16, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-11 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
analyzer ^0.39.0 0.39.4
args ^1.0.0 1.5.2
path ^1.0.0 1.6.4
quiver ^2.0.0 2.1.2+1
Transitive dependencies
_fe_analyzer_shared 1.0.3
async 2.4.0
charcode 1.1.2
collection 1.14.12
convert 2.1.1
crypto 2.1.4
csslib 0.16.1
glob 1.2.0
html 0.14.0+3
js 0.6.1+1
matcher 0.12.6
meta 1.1.8
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.1.0
pub_semver 1.4.2
source_span 1.6.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
watcher 0.9.7+13
yaml 2.2.0
Dev dependencies
pedantic ^1.0.0 1.9.0