Reformat Code for comments in select blocks
Opened this issue · 1 comments
bt commented
-
Plugin version (or commit hash): v0.13.1914
-
IDE name and version: IntelliJ Idea 2016.3
-
Java version: 1.8.0_112
-
OS name and version: macOS Sierra 10.12.1 (16B2659)
-
What are you trying to do?
Using the Reformat Code feature in IntelliJ will cause comments in aselect
block to be indented incorrectly. -
What would you expect to happen?
Given the following code as an example:
select {
case <-timer.C:
// Timer reached.
}
I'm expecting the code to be formatted as follows:
select {
case <-timer.C:
// Timer reached.
}
- What happens?
However, the autoformatting will output it to the following:
select {
case <-timer.C:
// Timer reached.
}
zh-h commented
Did you using gofmt compare to this plugin`s format?