Pychar-20170301快捷键

 Pychar IDE 2017.03.03 版本的特性




------------------------------------------------
Ctrl+D:(Dumplicated)
复制选中的代码变量, in the editor duplicates the selected block or the current line when no block is selected.

Ctrl+Shift+向上箭头 or Ctrl+Shift+向下箭头:
reorganizing the code lines in your file
重新组织文件中的代码,及选中的“代码块”进行向上,向下 移动。

Ctrl+N (Navigate | Class)
To open any class in the editor quickly, 在编辑框中打开任意的class

Ctrl+P:(PJarameter)
如果光标在函数调用的括号中,则调出方程中相应的有效参数


Ctrl+Shift+N (Navigate | File)
You can open any file in your project in a similar way
在工程中打开任意的文件

Ctrl+Shift+J :(join)
将选中的代码行合并到一行,并且添加“;”,以及删除“多余的空格”

《代码补全-1》
Ctrl+空格:
补全名字或者函数 Code Completion(代码补全),不管是导入的文案金,或者class, 自动补全

Tab:Code Completion
当在代码补全的list中,如果第一个选中的highlighted selection, 则直接通过Tab键来自动补全。

Ctrl+Q: (View | Quick Documentation).
To quickly see the documentation for the symbol at caret,
这是:快速打开:符号在定义出的各种注释,或者相关的文档

下列快捷键:可以用在代码补全或者编辑框中的快速选择
(1)Ctrl+Q (View | Quick Documentation),
(2)Ctrl+P (View | Parameter Info),
(3)Ctrl+B (Navigate | Declaration)


《导航1-方法之间》
Alt+向上箭头 and Alt+向下箭:
可以快速地在当前的文件中的:methods进行导航

《导航2-方法之间》
Ctrl+B:
To navigate to the declaration of a class, method or variable used somewhere in the code, position the caret at the usage
快速定位到(符号)的声明,定义位置
注意:
可以通过 按Ctrl + 鼠标点击 实现相同的功能: 一键进入定义位置。

Ctrl+W:(extend selection)
按照选中的“元素”,基于定义域的方式,逐步扩展选中区域。
即:元素名称,元素被调用的函数, 函数所在的行, 函数所在的定义域,整个文件。


Ctrl + Alt + 方向箭头左右:
历史导航代码操作点

Ctrl+Shift+Backspace (Navigate | Last Edit Location)
brings you back to the last place where you made changes in the code.
在代码中导航,一直定位到上次修改的“位置”

《历史复制-》
Ctrl+Alt+V: (Refactor | Extract | Variable)
重构,The Extract Variable refactoring helps you simplify complicated statements in your code
重构出新的变量,用来帮助你简化你的复杂的代码。即,在代码中,选中一个表达式,然后按下,即可提出去“中间变量”,简化你的复杂的代码

Ctrl+Shift+V:(复制)
快速选择历史的复制内容,然后选择复制

Ctrl+F12
quickly navigate in the currently edited file
在当前打开的编辑文件中,列出“所有的类, 成员, 函数”等定义。在列表对话框中进行导航,并通过“Enter”,或者“F4”进入相应的定义。
如果快速进入,则输入相应的名字,即可快速选择

Ctrl+Shift+F7 (Edit | Find | Highlight Usages in File) :
(1) quickly highlight usages of some variable in the current file.快速高亮,选中的元素,在当前文件中的“使用”情况。
(2) F3 and Shift+F3 ,可以在这些“高亮“代码中,导航
(3) Esc : remove所有的高亮显示


---------------------------------------------
Shift+F6 (Refactor | Rename)
easily rename your local variables with automatic correction of all places where they are used.
在“局部”定义域内,可以通过此快捷键, 通过选中“变量名字”,在弹出的对话框中重新命名,局部定义域内该变量名字则全部替换,非常方便。输入新名字,enter即可。

---------------------------------------------
Alt+F1:
quickly select the currently edited element (class, file, method or field) in any view (Project view, Structure view or other)
快速查看当前元素在项目视图, 结构视图,以及其他视图中的位置,也可以直接在文件窗口打开当前文件。

直接输入定位:【在左侧的项目的Tree列表中快速定义元素位置】
可以直接输入名称,即可“快速定位”
speed search is available in all the tree views:


Alt+F7: (Find Usages )
在项目中,任何与:class, method or variable , 相关的地方都可以在弹出的菜单中显示出来

-----------------------------------------

Esc
The Esc key in any tool window moves the focus to the editor.
ESC 按键可以快速从“其他的窗口” 快速转移的“编辑文件”中

Shift+Esc:
moves the focus to the editor and also hides the current (or last active) tool window.
操作功能与直接ESC相似,但是“同时”关闭当前的“tool 窗口”

F12:
moves the focus from the editor to the last focused tool window.
则快速地从从“编辑文件”中,返回到上次定义的“工具窗口”位置


----------------------------------------
编辑文件中的:上下文菜单

Local History | Show History:
可以查看当前文件的修改历史, see your local history of changes in a file。可以看到不同修改的时间点,以及修改内容。

Ctrl+E (View | Recent Files) :
可以打开弹出列表对话框,用来显示最近修改的文件列表。


-----------------------------------------
编程快捷方式
(1)【Code 的 菜单中:由快捷键的相应标注】
(2) 在菜单项的每个菜单, 在相应的”IDE“的状态栏(底边应用框架),则会显示相应的:应用说明。


Ctrl+O (Code | Override Methods):
easily override the methods of the base class 、
快速重载基类的函数方法。

Ctrl+Alt+Shift+N (Navigate | Symbol):
(1)导航菜单, 符号:
(2)To open any particular method or field in the editor quickly,打开任意方法


Alt+Shift+C :
quickly review your recent changes to the project.
快速查看最近对Project的修改

(Ctrl+空格) within HTML, CSS and other files

Ctrl+C:
注意:如果在某行中没有任何元素被选中,则将选中“当前的行”。


-----------------------------------------------
IDE的设置快捷键

Ctrl+后引号 (View | Quick Switch Scheme):
快速修改代码主题

Ctrl+Shift+A (Help | Find Action on the main menu) :
打开IDE中的命令,直接避免用鼠标点击菜单。

Alt+Shift+F10:
打开/关闭, Run /Debug 的窗口,在工具栏中,这样就不需要用鼠标进行点击。


原文地址:https://www.cnblogs.com/icmzn/p/9501052.html