如何在eclipse中禁用自动创建大括号({})? [英] How to disable auto creation of curly brackets({}) in eclipse?
本文介绍了如何在eclipse中禁用自动创建大括号({})?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我写
if(true)
{
eclipse自动完成到
eclipse auto-completes it to
if(true)
{
//cursor here
}
其中当我想写一个别的或者如果任何方式禁用它?
Which gets annoying when I want to write an else or else if. Any way to disable it?
推荐答案
从Eclipse的主窗口中,选择 Window 然后选择首。然后选择 Java ,编辑器,然后选择键入以获取以下屏幕:
From Eclipse's main window, choose Window and then Preferences. Then choose Java, Editor and then Typing to get the following screen:
并取消勾选< kbd> {Braces} 。
在Eclipse Helios上测试。
Tested on Eclipse Helios.
这篇关于如何在eclipse中禁用自动创建大括号({})?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文