Eclipse快捷键,部分
来源:互联网 发布:fluent6.3软件下载 编辑:程序博客网 时间:2024/05/01 10:13
1. Ctrl+左键 和F3
这个是大多数人经常用到的,用来查看变量、方法、类的定义
跳到光标所在标识符的定义代码。当按执行流程阅读时,F3实现了大部分导航动作。
2 Ctrl+Shift+G
在工作空间中查找引用了光标所在标识符的位置。可以说是与F3相反的快捷键。当按类定义进行阅读时,可以迅速找出当前类方法在被哪些类调用了。
3. Ctrl+O
查看一个类的纲要,列出其方法和成员变量。提示:再多按一次Ctrl+O,可以列出该类继承的方法和变量。
助记:"O"--->"Outline"--->"纲要"
4 F4
打开继承树。显示当前类所在的继承树。不但包括父类,还包括当前类的子类。
5. Ctrl+T
查看一个类的继承关系树,是自顶向下的,再多按一次Ctrl+T, 会换成自底向上的显示结构。与"F4"快捷键不同的是显示方式。
提示:选中一个方法名,按Ctrl+T,可以查看到有这个同名方法的父类、子类、接口。
助记:"T"------->"Tree"----->"层次树"
6.Alt+左右方向键
我们经常会遇到看代码时Ctrl+左键,层层跟踪,然后迷失在代码中的情况,这时只需要按“Alt+左方向键”就可以退回到上次阅读的位置,同理,按“Alt+右方向键”会前进到刚
才退回的阅读位置,就像浏览器的前进和后退按钮一样。
Alt+-->返回上一个阅读位置。使用查找功能或导航功能跳转后,可以用ALT-左箭头返回上一个阅读位置,而且还是多层历史记录。类似IE的后退。若要这个后退功能 达到最好效
率,就要养成使用它的习惯,例如遇到了一个方法调用,用F3打开了它所在的类文件,看完后应用alt-左箭头来后退,而不是直接关掉新打开的标 签页。否则这个新开的标签页将
会被记录到历史中,下次后退到这里时又会被重新打开。
7.Ctrl+Alt+H
如果你想知道一个类的方法到底被那些其他的类调用,那么请选中这个方法名,然后按“Ctrl+Alt+H”,Eclipse就会显示出这个方法被哪些方法调用,最终产生一个调用关系树。
助记:"H"--->"Hierarchy"--->"调用层次"
打开光标所在类方法所覆盖的超类方法,相当于在覆盖方法中用鼠标点左边的覆盖方法三角标志。此功能没有默认快捷键,须在主菜单 Windows->Preferences->General-
仅显示光标所在元素(类方法等)。隐藏当前代码中的其他部分,把光标所在的类方法置顶显示。我个人比较喜欢这种方式,一来屏幕比较清洁,二来此时使用导航 功能导航到类
此功能没有默认快捷键,须在主菜单 Windows->Preferences->General->Keys->Modify->Command->Navigate, Open Super Implementation中设置,我个人习惯设为Alt+M,S。
10 Ctrl+E
弹出一个简易对话框用来精确切换代码编辑栏。(注意不要不小心按了Ctrl+W把当前栏目关了,可以考虑取消Ctrl+W关闭当前栏目的设定,因为Ctrl+W实在太容易误按。我个人比较习惯用Ctrl+F4来关闭栏目)
最大化当前窗口。配合F12(编辑窗口获得焦点),可以立刻最大化代码编辑栏。(F12、Ctrl+M)
12Ctrl+小键盘的+ - * /
控制代码结构的折叠与展开。由于我个人喜欢用Show Selected Elemnt Only多于折叠代码,而且要看类成员结构可以用Outline栏目(Shift+Alt+Q,O)或Ctrl+O。因此比较少用这个功能。主要用来集中 查看类方法的Inline JavaDoc注释。
Ctrl+Shift+T
在工作空间内查找类型(包括所有项目中的类,引用JAR包中的类)。这是按名称打开一个类最快捷的方法。
Ctrl-PageUp/Ctrl-PageDown
切换到上一个/下一个标签页
ctrl+F4或ctrl+w
关闭当前标签页
Shift+Alt+Q
打开一个特定栏目,Shift+Alt+Q后可跟一个键表示要打开的栏目。按下Shift+Alt+Q后过一会可看到提示窗。
Ctrl+J
递增式查找。在当前编辑窗口中进行递增式查找。查找过程中按下箭头可跳到下一个匹配点,按上箭头跳到上一个匹配点,按ESC退出递增式查找。
Ctrl+H
打开查找窗口。打开一个可以进行详细设置的查找对话框。由于Eclipse各种导航功能很完善,我比较少用这个查找功能。主要用来进行一些用正则表达式做条件的查找。在查找中,用Ctrl+K查找下一个匹配。
Ctrl+Shift+E
弹出一个对话框来切换或关闭多个代码编辑栏。
当然还有最基本的,Ctrl+Shift+L,显示快捷键列表。
from:http://www.cnblogs.com/yanyansha/archive/2011/08/30/2159265.html
Ubuntu terminator 多窗口终端的快捷键
KEYBINDINGSThe following keybindings can be used to control Terminator:- Ctrl+Shift+O
- Split terminals Horizontally.(上下开新窗口)
- Ctrl+Shift+E
- Split terminals Vertically.(垂直开新窗口)
- Ctrl+Shift+Right
- Move parent dragbar Right.(放大当前窗口 向右)
- Ctrl+Shift+Left
- Move parent dragbar Left.
- Ctrl+Shift+Up
- Move parent dragbar Up.
- Ctrl+Shift+Down
- Move parent dragbar Down.
- Ctrl+Shift+S
- Hide/Show Scrollbar.(隐藏滚动条)
- Ctrl+Shift+F
- Search within terminal scrollback
- Ctrl+Shift+N or Ctrl+Tab
- Move to next terminal within the same tab, use Ctrl+PageDown to move to the next tab. If cycle_term_tab is False, cycle within the same tab will be disabled
- Ctrl+Shift+P or Ctrl+Shift+Tab
- Move to previous terminal within the same tab, use Ctrl+PageUp to move to the previous tab. Ifcycle_term_tab is False, cycle within the same tab will be disabled
- Alt+Up
- Move to the terminal above the current one.(切换当前窗口)
- Alt+Down
- Move to the terminal below the current one.
- Alt+Left
- Move to the terminal left of the current one.
- Alt+Right
- Move to the terminal right of the current one.
- Ctrl+Shift+C
- Copy selected text to clipboard
- Ctrl+Shift+V
- Paste clipboard text
- Ctrl+Shift+W
- Close the current terminal.
- Ctrl+Shift+Q
- Quits Terminator
- Ctrl+Shift+X (最大化当前窗口)
- Toggle between showing all terminals and only showing the current one (maximise).
- Ctrl+Shift+Z
- Toggle between showing all terminals and only showing a scaled version of the current one (zoom).
- Ctrl+Shift+T
- Open new tab
- Ctrl+Shift+Alt+T
- Open new tab at root level, if using extreme_tabs.
- Ctrl+PageDown
- Move to next Tab
- Ctrl+PageUp
- Move to previous Tab
- Ctrl+Shift+PageDown
- Swap tab position with next Tab
- Ctrl+Shift+PageUp
- Swap tab position with previous Tab
- Ctrl+Shift+F
- Open buffer search bar to find substrings in the scrollback buffer. Hit Escape to cancel.
- Ctrl+Plus (+)
- Increase font size. Note: this may require you to press shift, depending on your keyboard
- Ctrl+Minus (-)
- Decrease font size. Note: this may require you to press shift, depending on your keyboard
- Ctrl+Zero (0)
- Restore font size to original setting.
- F11
- Toggle fullscreen(放大当前窗口)
- Ctrl+Shift+R
- Reset terminal state
- Ctrl+Shift+G
- Reset terminal state and clear window
Drag and Drop
The layout can be modified by moving terminals with Drag and Drop. To start dragging a terminal, hold downCtrl, click and hold the right mouse button. Then,**Release Ctrl**. You can now drag the terminal do the point in the layout you would like it to be. The zone where the terminal would be inserted will be highlighted
本文转载自:http://www.net527.cn/a/caozuoxitong/Linux/7422.html
因为需要同时访问本机的多个虚拟机窗口,故希望有个多窗口管理器能让我方便的在各个窗口间切换,go之发现有说screen的,有说Terminator。
screen使用起来不是那么方便,故安装Terminator尝试,发现就是我想要的。
装后好打开Terminator 和普通终端一样。
Terminator基本命令如下:(大小写无关的)
Ctrl + Shift + 字体增大一号(实际是Ctrl +)
Ctrl - 字体减小一号
Ctrl 0 字体还原至上一次修改
Ctrl+Shift+T 新开个tab(类似FF)
Ctrl+Shift+N 或者 Ctrl+Tab 切换到下一个tab
Ctrl+Shift+P 或者 Ctrl+Shift+Tab 切换到前一个tab
Alt+ up(上方向键) 切换到当前焦点上面的tab
Alt+ down(下方向键) 切换到当前焦点下面的tab
Alt+ left(左方向键) 切换到当前焦点左面的tab
Alt+ right(右方向键) 切换到当前焦点右面的tab
Ctrl+Shift+E 垂直分割窗口
Ctrl+Shift+O 水平分割窗口
Ctrl+Shift+W 关闭当前窗口(仅是当前焦点所在的窗口)
Ctrl+Shift+C 复制
Ctrl+Shift+V 粘贴
Ctrl+Shift+Q 关闭当前所有窗口(会有提示是否关闭)
以下4个是调整窗口大小的,
Ctrl+Shift+Up
Ctrl+Shift+Down
Ctrl+Shift+Left
Ctrl+Shift+Right
Ctrl+Shift+X 全屏当前窗口,再输入遍就还原了
Ctrl+Shift+Z 全屏当前窗口,同时放大字体
Ctrl + Shift + G 清除当前窗口 (类似cls)
Ctrl+Shift+I 开一个新的Terminator实例
具体其他用法可以使用man查看
man terminator-config
补充记录下 下载地址 http://www.tenshu.net/terminator/
补充部分转载自:http://dikar.iteye.com/blog/940085
- eclipse部分快捷键
- eclipse快捷键 (部分)
- Eclipse 部分快捷键
- Eclipse快捷键,部分
- Eclipse部分常用快捷键
- 部分eclipse快捷键
- Eclipse部分快捷键
- eclipse 快捷键(部分
- Eclipse 部分常见快捷键
- Eclipse的部分快捷键
- eclipse部分常用快捷键
- Eclipse 部分快捷键
- Eclipse操作部分快捷键整理
- eclipse部分快捷键失效解决
- Eclipse中调试Java程序 部分快捷键
- Eclipse(Kepler (4.3.1))中的部分快捷键
- android studio 快捷键(eclipse版)--部分
- eclipse部分设置详情【附快捷键使用】
- 网站建设对代码的编写有要求吗?
- hdu 1257 最少拦截系统【贪心 || DP——LIS】
- Ubuntu下面软件的安装【解决包的依赖问题】
- ISO14000认证流程
- C代码简洁之道-把程序段定义成宏
- Eclipse快捷键,部分
- 一个新的目标跟踪数据库
- Spring中加载xml配置文件的六种方式
- list的用法
- android捕获Home键
- hdu1421 搬寝室
- 逆波兰表达式(后缀表达式)2
- 中国国航往返飞机票怎么改签
- android中用到的dip、dp、px、sp和屏幕密度