go-lang-plugin-org/go-lang-idea-plugin

Variables starting with "default" get unindented

ifross89 opened this issue · 1 comments

  • Plugin version (or commit hash): 0.171.2

  • IDE name and version: IntelliJ IDEA 2017.1.1 Build #UI-171.4073.35, built on Aprlil 6, 2017

  • Java version: JRE: 1.8.0_112-release-736-b16 amd64. JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

  • OS name and version: Xubuntu 16.04.2 LTS

  • What are you trying to do?
    Use "defaults" as a variable name in an assignment.

  • What would you expect to happen?
    The variable name to be indented properly after typing.

  • What happens?
    After writing "default", the word gets unindented (due to it being a keyword in switch/select blocks), adding extra letters to this does not re-indent.

default_bug

Will be fixed in the next nightly of https://plugins.jetbrains.com/plugin/9568-go