如何最小化Eclipse中的代码区? [英] How to minimize code area in Eclipse?

查看:224
本文介绍了如何最小化Eclipse中的代码区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio中有一个很好的功能:您可以创建可以最小化的特殊代码区域,就像Eclipse中的类方法最小化一样。喜欢:

  #region 

//一些代码

#endregion

有没有办法在Eclipse中做这样愉快的功能?

解决方案

它被称为全部折叠,点击编辑器视图,你想折叠所有的方法去
帮助>
键帮助...>
双击全部折叠,一切都已折叠


There is a nice feature in Visual Studio: you can create special code areas which can be minimized just as class methods in Eclipse are minimized. Like:

#region

//some code

#endregion

Is there a way do make such pleasant feature in Eclipse?

解决方案

It's called "collapse all", click on the editor view that you want to collapse all your methods in go to help> key assist...> double click "collapse all">, everything is collapsed

这篇关于如何最小化Eclipse中的代码区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆