开发者

how to disable Eclipse content-assist semicolon insertion (with Android project) - unchecking doesn't work

开发者 https://www.devze.com 2023-02-27 03:10 出处:网络
Is there any way to stop Eclipse (Helios) from automatically-inserting semicolons at the end of every line when working on an Android Java file? Or at least refrain from insidiously moving the cursor

Is there any way to stop Eclipse (Helios) from automatically-inserting semicolons at the end of every line when working on an Android Java file? Or at least refrain from insidiously moving the cursor to the posi开发者_如何学JAVAtion before the semicolon when I type it myself?

I tried going to Window->Preferences->Java/Editor/Typing and un-checking "Automatically insert at correct position: Semicolons", but it was never even checked to begin with.

This behavior is driving me insane. I'll type the final semicolon at the end of the line, and the editor backs up the cursor so that when I hit return a moment later, the semicolon gets moved to the next line.


Change Auto activation triggers for Java to .( in Preferences/Java/Editor/Content Assist/Auto Activation. The default for Android is . and that doesn't work for some reasons.

0

精彩评论

暂无评论...
验证码 换一张
取 消