Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to apply Eclipse

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to apply Eclipse". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use Eclipse.

First, use shortcut keys

Ctrl+D: delete the current line

Ctrl+Alt+ ↓ copies the current line to the next line (replication increases)

Ctrl+Alt+ ↑ copies the current line to the previous line (replication increases)

Page previously edited by Alt+ ←

Alt+ → 's next edited page

Ctrl+Q locates to the last edited place

Ctrl+L is positioned on a line

Ctrl+/ comments the current line, then uncomment it by pressing

Ctrl+O Quick display of OutLine

Ctrl+T quickly displays the inheritance structure of the current class

Ctrl+Shift+F formats the current code

Ctrl+Shift+H globally opens types in the hierarchy (where methods are called)

Ctrl+ left + selected method name: view method implementation

Ctrl+H: global search

Ctrl+O: search method in class

Format Ctrl+Shift+F

Uncomment Ctrl+\

Comment Ctrl+/

Add Import Ctrl+Shift+M

Organization Import Ctrl+Shift+O

Breakpoint debugging:

F5: step-in method

F6: skip one step, skip to the next line

F7: step back to the entrance to the jump method

F8: go ahead, skip to the next breakpoint

Second, integrated Git development

Install Git

Eclipse has integrated Git

Configure SSH key

Install GIT Bash first

E:\ software\ work\ git\ Git-2.7.2-32-bit_setup.1457942412

Open the D:\ Program Files (x86)\ Git\ git-bash.exe command window

Set user name and email for Git

The first step is to set the user name and email of Git: (if this is the first time)

Git config-global user.name "16072448"

Git config-global user.email "16072448@qq.com"

Step 2: create a SSH Key

Ssh-keygen-t rsa-C "16072448@qq.com"

Note: there are no spaces in _ ssh-keygen__

Enter three times in a row.

You end up with two files in the C:\ Users\ 16072448\ .ssh directory: id_rsa and id_rsa.pub.

Configure the generated SSH key to the remote warehouse Gitlab platform

Http://git.cnsing.com/drp/drp_git

Set-SSH key-paste key-add key

Restart Eclipse,SSH mode to clone code

At this point, I believe you have a deeper understanding of "how to apply Eclipse", might as well come to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report