ciach 0.2.0 copy "ciach: ^0.2.0" to clipboard
ciach: ^0.2.0 copied to clipboard

Finds unused (never-referenced) declarations in a Dart/Flutter package by driving the Dart analysis server over LSP and querying textDocument/references.

0.2.0 #

  • Add --remove to delete unused declarations from source after reporting them, with a confirmation prompt; --remove --force skips the prompt.
  • Skip operator overloads (operator +, operator ==, …) by default — the analysis server can't resolve infix operator syntax back to the declaration, so a used operator was always reported as unused. Pass --operators to include them anyway.
  • Report declarations referenced only from a dartdoc [Xxx] comment link as a separate, informational "doc-only" category (in text, json, and github output) instead of hiding them entirely. Doc-only findings are never deleted by --remove.
  • Clarify installation instructions: global activation vs. adding ciach as a dev dependency.

0.1.0 #

Initial implementation.

6
likes
0
points
92
downloads

Publisher

verified publisherleancode.co

Weekly Downloads

Finds unused (never-referenced) declarations in a Dart/Flutter package by driving the Dart analysis server over LSP and querying textDocument/references.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, glob, path, pro_lsp, stream_channel

More

Packages that depend on ciach