Reputation: 63094
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.
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
Reputation: 402185
It's most likely a bug which also affects the latest IDEA version, submitted to YouTrack, please vote.
Upvotes: 1