Steve Kuo
Steve Kuo

Reputation: 63094

Disable IntelliJ code completion for Groovy comments

IntelliJ is doing code completion while I'm editing a comment. The Groovy file looks something like this:

class Foo {
    // 
    def someMethod() {
    }
}

When I start typing text on the comment line above someMethod(), IntelliJ thinks I'm entering a class name and thus brings up code completion.

enter image description here

Is there a way to disable this? It should be obvious to IntelliJ that I'm in a comment.

I'm using IntelliJ 10.5.4 to edit a Groovy file.

Follow-up: I tried this with Java and IntelliJ does not perform code completion within a comment.

Upvotes: 0

Views: 196

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402185

It's most likely a bug which also affects the latest IDEA version, submitted to YouTrack, please vote.

Upvotes: 1

Related Questions