2

I was typing in IntelliJ IDEA 11.1.1 code and I typed in the word

public class AnimalTestDrive{
    public static void main(String args[]){
        MyAnimalList list = new MyAnimalList();
        Dog a = new Dog();
        Cat
    }

}

but when I went to put in a space it keep auto-completing with this:

public class AnimalTestDrive{
    public static void main(String args[]){
        MyAnimalList list = new MyAnimalList();
        Dog a = new Dog();
        Catalog
    }

}

I've spent a couple hours trying to find where to stop this behavior since I want to only auto-complete using Tab. Anyone else experienced this?

Because apparently I am too new, I can't answer my own question but I did figure it out.

Solution: I have managed to resolve this issue. There is an options located under File > Settings... > Editor > Code Completion > Change Preselect the first suggestion: From Smart to Never.

4

1 に答える 1

3

この動作は無効にすることができます:

事前選択

もう1つのオプションは、自動ポップアップコードの完了遅延を増やすことです。

于 2012-04-08T07:24:41.900 に答える