intellij-rust/intellij-rust

Meta: Unused Imports

Aperta

#2158 aperta il 27 dic 2017

 (9 commenti) (13 reazioni) (1 assegnatario)Kotlin (376 fork)batch import
E-hardfeaturehelp wantedmetasubsystem::code insight

Metriche repository

Star
 (4526 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

"Unused imports" inspection is disabled by default, and can be enabled in Settings | Editor | Inspections. Note that org.rust.macros.proc experimental feature also should be enabled.

  • Inspection #6392
  • Quick-fix #7492
  • Integrate into import optimizer #7495
  • Engine
    • Support modules without child modules #6392
    • Support modules with child modules #7550
      • Trait imports
    • Proc macros
      • Derive
        • current mod #7574
        • other mods
      • Attribute
        • current mod #8052
        • other mods
  • Enable by default (fix false-positives)
    • #7461
    • #7496
    • #7535
    • #7538
    • #7555
    • #7564
    • #7584 - regression testing on CI
    • usages in macro body (not macro call body)
    • usages in strings, e.g. #[serde(default = "path")] #8216
    • ? usages in include! file

Guida contributor