tips of using eclipse

本文介绍了Eclipse中一些实用的功能设置方法,包括显示代码行长度、删除源代码下划线、标记出现位置、搜索特定目录、禁用Git仓库自动刷新等,帮助开发者更高效地使用Eclipse。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1  显示代码当前行长度限制,比如80

General -> Editors -> Text Editors -> select Show print margin(print margin column)

General -> Editors -> Text Editors -> select Show whitespace characters


2  Delete underline in source code

Preference -> General -> Editors -> Text Editors -> Annotations -> Warnings ->
1). deselectText as "Native Problem Underline"
2). deselect all Text as "Squiggly['skwɪgli]adv. 弯弯曲曲地 Line"

3  Mark Occurrence [ə'kʌr(ə)ns]

Preference -> General -> Editors -> Text Editors -> Annotations ->C/C++ Occurrences -> Just select your favorite color.

The highlight can be opened or closed by alt+shift+o.

4  Eclipse Search for specific directory

a. Select the specific directory in project explorer
b. Ctrl + H, Select File Search or C/C++ Search and Select Selected Resources

5  Don't make git repo refresh continuously

Window -> Preferences(偏爱) -> Team -> Git ->deselect Automatic refresh

6 查找并打开function, variable, typedef, enum, union, class, struct, macro and so on

Ctrl + Shift + T

7 查找并打开文件

Ctrl + Shift + R

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值