常用Eclipse快捷方式,eclipse快捷方式
Jun 13, 2016 am 08:38 AM常用Eclipse快捷方式,eclipse快捷方式
Ctrl+1 快速修復(fù)
Ctrl+D: 刪除當(dāng)前行?
Ctrl+Alt+↓ 復(fù)制當(dāng)前行到下一行(復(fù)制增加)
Ctrl+Alt+↑ 復(fù)制當(dāng)前行到上一行(復(fù)制增加)
Alt+↓ 當(dāng)前行和下面一行交互位置(特別實用,可以省去先剪切,再粘貼了)
Alt+↑ 當(dāng)前行和上面一行交互位置(同上)
Alt+← 前一個編輯的頁面
Alt+→ 下一個編輯的頁面
Alt+Enter 顯示當(dāng)前選擇資源(工程,or 文件 or文件)的屬性
Shift+Enter 在當(dāng)前行的下一行插入空行
Shift+Ctrl+Enter 在當(dāng)前行插入空行
Ctrl+Q 定位到最后編輯的地方
Ctrl+L 定位在某行?
Ctrl+M 最大化當(dāng)前的Edit或View (再按則反之)
Ctrl+/ 注釋當(dāng)前行,再按則取消注釋
Ctrl+O 快速顯示 OutLine
Ctrl+T 快速顯示當(dāng)前類的繼承結(jié)構(gòu)
Ctrl+W 關(guān)閉當(dāng)前Editer
Alt+/ 代碼助手完成一些代碼的插入
Ctrl+Shift+E 顯示管理當(dāng)前打開的所有的View的管理器(可以選擇關(guān)閉,激活等操作)
Ctrl+Shift+F4 關(guān)閉所有打開的Editer
Ctrl+Shift+X 把當(dāng)前選中的文本全部變?yōu)榇髮?/p>
Ctrl+Shift+Y 把當(dāng)前選中的文本全部變?yōu)樾?/p>
Ctrl+Shift+F 格式化當(dāng)前代碼
Ctrl+Shift+P 定位到對于的匹配符(譬如{}) (從前面定位后面時,光標(biāo)要在匹配符里面,后面到前面,則反之)
?
--Alt+Shift開頭
Alt+Shift+R 重命名 (變量和類的Rename)
Alt+Shift+M 抽取方法 (這是重構(gòu)里面最常用的方法之一了,尤其是對一大堆泥團(tuán)代碼有用)
Alt+Shift+C 修改函數(shù)結(jié)構(gòu)(比較實用,有N個函數(shù)調(diào)用了這個方法,修改一次搞定)
Alt+Shift+L 抽取本地變量( 可以直接把一些魔法數(shù)字和字符串抽取成一個變量,尤其是多處調(diào)用的時候)
Alt+Shift+F 把Class中的local變量變?yōu)閒ield變量 (比較實用的功能)
Alt+Shift+I 合并變量(可能這樣說有點不妥Inline)
Alt+Shift+V 移動函數(shù)和變量(不怎么常用)
Alt+Shift+Z 重構(gòu)的后悔藥(Undo)
Alt+Shift+J 方法添加注釋
?
--導(dǎo)航
作用域 功能 快捷鍵?
全局 打開類型 Ctrl+Shift+T?
全局 打開資源 Ctrl+Shift+R?
Java編輯器 顯示大綱 Ctrl+O?
全局 在層次結(jié)構(gòu)中打開類型 Ctrl+Shift+H?
全局 轉(zhuǎn)至匹配的括號 Ctrl+Shift+P?
全局 轉(zhuǎn)至上一個編輯位置 Ctrl+Q?
Java編輯器 轉(zhuǎn)至上一個成員 Ctrl+Shift+↑?
Java編輯器 轉(zhuǎn)至下一個成員 Ctrl+Shift+↓?
文本編輯器 轉(zhuǎn)至行 Ctrl+L?
?http://hovertree.com/texiao/
--運行
作用域 功能 快捷鍵?
全局 單步返回 F7?
全局 單步跳過 F6?
全局 單步跳入 F5?
全局 單步跳入選擇 Ctrl+F5?
全局 調(diào)試上次啟動 F11?
全局 繼續(xù) F8?
全局 使用過濾器單步執(zhí)行 Shift+F5?
全局 添加/去除斷點 Ctrl+Shift+B?
全局 顯示 Ctrl+D?
全局 運行上次啟動 Ctrl+F11?
全局 運行至行 Ctrl+R?
全局 執(zhí)行 Ctrl+U?
http://www.cnblogs.com/roucheng/p/3520056.html

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Reasons why eclipse cannot import the project: 1. Check whether the project folder exists; 2. Check whether the project folder path is correct; 3. Create the project manually; 4. Clear the Eclipse cache; 5. Check the file structure of the project; 6. Check the project configuration file; 7. Clean up the Eclipse workspace; 8. Check the build path of Eclipse; 9. Re-import the project; 10. Update Eclipse. Detailed introduction: 1. Check whether the project folder exists, etc. before Eclipse imports the project.

How to set background color in Eclipse? Eclipse is a popular integrated development environment (IDE) among developers and can be used for development in a variety of programming languages. It is very powerful and flexible, and you can customize the appearance of the interface and editor through settings. This article will introduce how to set the background color in Eclipse and provide specific code examples. 1. Change the editor background color. Open Eclipse and enter the "Windows" menu. Select "Preferences". Navigate on the left

Teach you step by step how to change the background color in Eclipse, specific code examples are required Eclipse is a very popular integrated development environment (IDE) that is often used to write and debug Java projects. By default, the background color of Eclipse is white, but some users may wish to change the background color to suit their preference or to reduce eye strain. This article will teach you step by step how to change the background color in Eclipse and provide specific code examples. Step 1: Open Eclipse First

Professional guidance: Expert advice and steps for installing the Lombok plug-in in Eclipse, specific code examples are required Summary: Lombok is a Java library that simplifies the writing of Java code through annotations and provides some powerful tools. This article will introduce readers to the steps of how to install and configure the Lombok plug-in in Eclipse, and provide some specific code examples so that readers can better understand and use the Lombok plug-in. Download the Lombok plug-in first, we need

The solution to Eclipse code running problems is revealed: it helps you eliminate various code running errors and requires specific code examples. Introduction: Eclipse is a commonly used integrated development environment (IDE) and is widely used in Java development. Although Eclipse has powerful functions and a friendly user interface, it is inevitable to encounter various running problems when writing and debugging code. This article will reveal some common Eclipse code running problems and provide solutions. Please note that in order to better help readers understand, this

Setting steps: 1. Open Eclipse and enter the menu bar Window -> Preferences; 2. Select General -> Appearance -> Colors And Fonts; 3. Expand Basic -> Text Font and click the Edit button on the right; 4. Select the font , font, size and other attributes, select the appropriate font size according to personal needs, such as 12, 14 or 16, etc.; 5. Click the Apply button to apply the changes.

What should I do if Eclipse cannot be opened? Quick solution revealed, specific code examples required Eclipse is a very popular development tool, but sometimes you may encounter problems that cannot be opened. This can be due to a number of reasons, including configuration issues, plugin conflicts, software corruption, etc. Don’t worry, here are some common solutions to help you solve this problem quickly. Clear the workspace Sometimes, Eclipse cannot be opened because a file in the workspace is damaged. solve this problem

How to customize shortcut key settings in Eclipse? As a developer, mastering shortcut keys is one of the keys to improving efficiency when coding in Eclipse. As a powerful integrated development environment, Eclipse not only provides many default shortcut keys, but also allows users to customize them according to their own preferences. This article will introduce how to customize shortcut key settings in Eclipse and give specific code examples. Open Eclipse First, open Eclipse and enter
