简体   繁体   中英

[IntelliJ IDEA][Android Studio] Autocomplete when using semi colon key

Resharper has (or had) a feature allowing autocompletion to be triggered when pressing semi colon, so I don't have to press enter to autocomplete and then semi colon.

I can't find how to enable this feature in IntelliJ/Android Studio. Is there any way to do this?

IntelliJ has something similar, but it works for space, dot and semicolon (maybe other characters). Not sure if the behavior can be modified if you want IntelliJ to autocomplete only on semicolon. Here is how you enable it:

  • Go to Settings/Editor/General/Code Completion
  • Enable Insert selected variant by typing dot, space, etc.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM