AS ShortCut

Posted 楊柳

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了AS ShortCut相关的知识,希望对你有一定的参考价值。

Ctrl+Alt+L reformat Code
Ctrl+shift+/ comment/uncomment lines and blocks(/**/)
Ctr+/ comment/uncoment current line or blocks(//)
Ctrl+D in the editor duplicates the selected block or the current line when no block is selected.

Ctrl+E (View | Recent Files) recently visited files.

itar..+Tab Live Templates

Ctrl+Space Basic Code Completion

Ctrl+Shift+Space Smart Completion

Ctrl+Shift+Enter Statement Completion(parentheses,brackets,braces...)

Ctrl+P brings up a list of valid parameters

Ctrl+F12 view the current file structure

Ctrl+N search for and navigate to a specific class in the project

Ctrl+Shift+N navigate to a file or folder

Ctrl+Shift+Alt+N navigate to a method or field by name

Ctrl+Shift+Backspace (Navigate | Last Edit Location) brings you back to the last place where you made changes in the code.

Ctrl+Shift+F7 (Edit | Find | Highlight Usages in File) to quickly highlight usages of some variable in the current file.

Ctrl+Shift+J joins two lines into one and removes unnecessary space to match your code style.

Ctrl+Shift+V to choose and insert recent clipboard contents into the text.

Alt+F7 find the pieces of code referencing the class, method, field, parameter, statement
Alt+Enter quick fix and show intention actions

F3 and Shift+F3 to navigate through highlighted usages. Esc to remove highlighting.

Code | Reformat Code to reformat code according to your code style preferences (File | Settings | Code Style).

Code | Optimize Imports to automatically optimize imports (remove unused imports, etc.). (File | Settings | Code Style | Imports).

Alt+Q (View | Context Info) to see the declaration of the current method without the need to scroll to it.

F2/Shift+F2 keys to jump between highlighted syntax errors.

Ctrl+Alt+↑ /Ctrl+Alt+↓ to jump between compiler error messages or search operation results.

Alt+↑ and Alt+↓ keys to quickly move between methods i

To skip warnings right click on the validation side bar / marker bar and choose Go to high priority problems only.

Ctrl+J to complete any valid Live Template abbreviation if you don‘t remember it.

Eclipse
F6 逐行追踪
F5 进入方法
F7 跳出方法
F8 下一个断点或结束debug
字典类map 方法put/get

以上是关于AS ShortCut的主要内容,如果未能解决你的问题,请参考以下文章

在 AS3 中动态加载 AS2 文件 - 如何判断文件是不是为 AS2

[单词用法总结]-as

AS自治系统

41-高级路由:BGP AS长度:接收一切最大AS长度不比较AS长度

as in 是啥意思?

[ActionScript 3.0] AS3.0和AS2.0的相互通信