Skip to content

Hide diffs to Java import blocks #83

@jglick

Description

@jglick

Consider https://app.semanticdiff.com/gh/jenkinsci/jenkins/pull/9688/changes#cli/src/main/java/hudson/cli/CLI.java?ignore_comments=true as an example. (jenkinsci/jenkins#9688) Most of the first page that you see consists of changes to Java import statements. These are not really interesting to the reviewer in most cases. In fact some IDEs automatically collapse the entire block of import statements by default so you can focus on the actual code; and if you use an IDE to add missing imports, and either an IDE or a standalone tool like Spotless to manage imports (sort order, unused entries) you never even touch them manually.

It would be nice if SemanticDiff hid changes to import statements by default, or just displayed a concise summary of packages newly used or no longer used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgithubThis issue is about our GitHub App

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions