Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables starting with "default" get unindented #2887

Open
ifross89 opened this issue Apr 21, 2017 · 1 comment
Open

Variables starting with "default" get unindented #2887

ifross89 opened this issue Apr 21, 2017 · 1 comment

Comments

@ifross89
Copy link

  • 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

@zolotov
Copy link
Contributor

zolotov commented Apr 21, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants