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

Backticks are lost after merge #175

Closed
chessman opened this issue May 7, 2021 · 2 comments
Closed

Backticks are lost after merge #175

chessman opened this issue May 7, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@chessman
Copy link

chessman commented May 7, 2021

Settings:

rules = [OrganizeImports]

OrganizeImports {
  groups = ["java.", "*", "scala."]
  groupedImports = Merge
  removeUnused = true
}

I use "Organize imports" via Metals 0.10.2. It transforms this:

import akka.http.scaladsl.model.headers.Allow
import akka.http.scaladsl.model.headers.`Set-Cookie`

Into this:

import akka.http.scaladsl.model.headers.{Allow, Set-Cookie}

As you can see, backticks got lost.

@liancheng
Copy link
Owner

Hey @chessman, thanks for reporting! Any chance that this issue is a duplicate of #167?

@chessman
Copy link
Author

@liancheng Yes! Sorry for bothering.

@liancheng liancheng added the duplicate This issue or pull request already exists label Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants