Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Proposal to implement collapsing #500

Merged
merged 6 commits into from
Jan 8, 2018
Merged

Proposal to implement collapsing #500

merged 6 commits into from
Jan 8, 2018

Commits on Jan 8, 2018

  1. With this commit:

    1. Add new setting "go.blockImportsOnly"
    2. Add parsing of package name for single import lines
    3. When the user adds an import manually and there is already one or more single imports, collapse it all into a block if go.blockImportsOnly is true.
    Ben Wood authored and ramya-rao-a committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    9cf132a View commit details
    Browse the repository at this point in the history
  2. WTC:

    1. Fix linter issues
    Ben Wood authored and ramya-rao-a committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    967354f View commit details
    Browse the repository at this point in the history
  3. Remove unused import

    Ben Wood authored and ramya-rao-a committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    93f340a View commit details
    Browse the repository at this point in the history
  4. With this commit:

    1. Back out package name parsing
    2. Remove setting from package.json (always use block imports)
    3. Switch up how block import is created to preserve comments and special imports
    Ben Wood authored and ramya-rao-a committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    3732c07 View commit details
    Browse the repository at this point in the history
  5. Post rebase cleanup

    ramya-rao-a committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    4ca4925 View commit details
    Browse the repository at this point in the history
  6. Add tests

    ramya-rao-a committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    a085194 View commit details
    Browse the repository at this point in the history