Goland doesn't format code properly when writing semicolons

If I write a simple statement such as `fmt.Print("Hello")` without semicolons and press enter to go to the next line, the IDE puts the text indicator right below the previous statement but if I add semicolons then it puts the next line from the very left and not under previous statement. Is this expected behavior?

1

Hi,

No, it's not expected. I've filed the issue about it: https://youtrack.jetbrains.com/issue/GO-6401

Thanks!

1

请先登录再写评论。