# 2021-01-04 #「Eclipse」- 常用设置(杂记)

在格式化时,禁止较长的代码换行

How to set maximum line length in eclipse

我们以 Java 为例:
1)Windows => Preferences => Java => Code Style => Formatter
2)New...,然后复制已经存在的配置并设置名称,回到 Formatter 页面
3)Edit... => Line Wrapping => Maximum line width,设置为较大值

显示隐藏目录及文件

How can I make hidden files display in Eclipse Project explorer when using a RSE linked folder?

作为项目打开目录时,如果如果目录是以点开头的,导入的状态是关闭的,需要在 Window -> Show View -> Navigator 中才能看见。

修改 Eclipse User Storage 工具栏、删除工具栏重复项

Hiding Duplicate Toolbars Items in Eclipse

修改 /path/to/workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi 文件,但是在该工作目录下与界面相关的设置将丢失。

或者可以在 Window -> Perspective -> Customize Perspective 中直接隐藏 Eclipse User Storage 功能。

设置紧凑主题

Can I make Eclipse on Ubuntu look more compact?

如何缩小工具栏的大小

Is it possible to reduce size of eclipse toolbar?
Eclipse toolbar size

修改作者的名字

change author name in eclipse

禁用自动构建

stop automatic building with maven / eclipse

在打开 MAVEN 项目后,默认会开始自动构建,我们希望关闭该功能:
1)全局:General -> Workspace -> Build -> Build Automatically
2)项目:Window -> Preference,然后直接搜索到具体的功能下查找自动构建

当前工作目录的保存路径

How to change the default Eclipse startup workspace?

eclipse\configuration\.settings\org.eclipse.ui.ide.prefs

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值