Home Database Mysql Tutorial Eclipse快捷键技巧

Eclipse快捷键技巧

Jun 07, 2016 pm 02:59 PM
ctrl eclipse left click shortcut key Skill this

1. Ctrl左键 和F3 这个是大多数人经常用到的,用来查看变量、方法 、类的定义 跳到光标所在标识符的定义代码。当按执行流程阅读时,F3实现了大部分导航动作。 2 CtrlShiftG 在工作空间中查找引用了光标所在标识符的位置。可以说是与F3相反的快捷键。当按类定

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的后退。若要这个后退功能 达到最好效

会被记录到历史中,下次后退到这里时又会被重新打开。

7.Ctrl+Alt+H

如果你想知道一个类的方法到底被那些其他的类调用,那么请选中这个方法名,然后按“Ctrl+Alt+H”,Eclipse就会显示出这个方法被哪些方法调用,最终产生一个调用关系树。

助记:"H"--->"Hierarchy"--->"调用层次"

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to use shortcut keys to take screenshots in Win8? How to use shortcut keys to take screenshots in Win8? Mar 28, 2024 am 08:33 AM

How to use shortcut keys to take screenshots in Win8? In our daily use of computers, we often need to take screenshots of the content on the screen. For users of Windows 8 system, taking screenshots through shortcut keys is a convenient and efficient operation method. In this article, we will introduce several commonly used shortcut keys to take screenshots in Windows 8 system to help you take screenshots more quickly. The first method is to use the "Win key + PrintScreen key" key combination to perform full

Win11 Tips Sharing: Skip Microsoft Account Login with One Trick Win11 Tips Sharing: Skip Microsoft Account Login with One Trick Mar 27, 2024 pm 02:57 PM

Win11 Tips Sharing: One trick to skip Microsoft account login Windows 11 is the latest operating system launched by Microsoft, with a new design style and many practical functions. However, for some users, having to log in to their Microsoft account every time they boot up the system can be a bit annoying. If you are one of them, you might as well try the following tips, which will allow you to skip logging in with a Microsoft account and enter the desktop interface directly. First, we need to create a local account in the system to log in instead of a Microsoft account. The advantage of doing this is

What are the shortcut keys for the win11 taskbar manager_What are the shortcut keys for the win11 taskbar manager What are the shortcut keys for the win11 taskbar manager_What are the shortcut keys for the win11 taskbar manager Mar 20, 2024 pm 09:11 PM

Recently, netizens find it very troublesome to find the taskbar manager. They asked the editor if there is a way to open the taskbar manager immediately. Of course, there is. So today, the editor will teach you the shortcut key tutorial to quickly open the win11 taskbar manager. I hope it can help. To all netizens. Method 1: Find the Ctrl+Shift+ESC shortcut key in Win11 system. 1. Press [Ctrl+Shift+ESC] to open the Task Manager. Method 2: Right-click the Start menu to open and find Task Manager. 1. Right-click the start menu to open: After right-clicking the start icon with the mouse, you can see a simplified version of the function list. Most of the commands here are related to the system, and "Task Manager" is also among them.

What are the tips for novices to create forms? What are the tips for novices to create forms? Mar 21, 2024 am 09:11 AM

We often create and edit tables in excel, but as a novice who has just come into contact with the software, how to use excel to create tables is not as easy as it is for us. Below, we will conduct some drills on some steps of table creation that novices, that is, beginners, need to master. We hope it will be helpful to those in need. A sample form for beginners is shown below: Let’s see how to complete it! 1. There are two methods to create a new excel document. You can right-click the mouse on a blank location on the [Desktop] - [New] - [xls] file. You can also [Start]-[All Programs]-[Microsoft Office]-[Microsoft Excel 20**] 2. Double-click our new ex

A must-have for veterans: Tips and precautions for * and & in C language A must-have for veterans: Tips and precautions for * and & in C language Apr 04, 2024 am 08:21 AM

In C language, it represents a pointer, which stores the address of other variables; & represents the address operator, which returns the memory address of a variable. Tips for using pointers include defining pointers, dereferencing pointers, and ensuring that pointers point to valid addresses; tips for using address operators & include obtaining variable addresses, and returning the address of the first element of the array when obtaining the address of an array element. A practical example demonstrating the use of pointer and address operators to reverse a string.

How to solve the problem of pressing W key to trigger the stylus function in Win10 system? How to solve the problem of pressing W key to trigger the stylus function in Win10 system? Mar 23, 2024 pm 01:01 PM

Recently, some friends who are using Win10 system have encountered that whenever the "W" key on the keyboard is pressed, the stylus function is activated, causing normal work to be disrupted. In order to solve this problem, we will bring you several different detailed solutions below, let’s take a look. Solution Method 1: Click "Start" in the taskbar in the lower left corner and select "Settings" in the option list. 2. After entering the new interface, click the "Device" option. 3. Then click "Pen and WindowsInk" in the left column. 4. Then find "Write with fingers on the handwriting panel" on the right, and finally uncheck the small box. Method 2: 1. Use the "win+R" shortcut key to start running, enter "regedit", and press Enter to start.

VSCode Getting Started Guide: A must-read for beginners to quickly master usage skills! VSCode Getting Started Guide: A must-read for beginners to quickly master usage skills! Mar 26, 2024 am 08:21 AM

VSCode (Visual Studio Code) is an open source code editor developed by Microsoft. It has powerful functions and rich plug-in support, making it one of the preferred tools for developers. This article will provide an introductory guide for beginners to help them quickly master the skills of using VSCode. In this article, we will introduce how to install VSCode, basic editing operations, shortcut keys, plug-in installation, etc., and provide readers with specific code examples. 1. Install VSCode first, we need

PHP programming skills: How to jump to the web page within 3 seconds PHP programming skills: How to jump to the web page within 3 seconds Mar 24, 2024 am 09:18 AM

Title: PHP Programming Tips: How to Jump to a Web Page within 3 Seconds In web development, we often encounter situations where we need to automatically jump to another page within a certain period of time. This article will introduce how to use PHP to implement programming techniques to jump to a page within 3 seconds, and provide specific code examples. First of all, the basic principle of page jump is realized through the Location field in the HTTP response header. By setting this field, the browser can automatically jump to the specified page. Below is a simple example demonstrating how to use P

See all articles