Two .java development tools -eclipse / idea

A .eclipse installation
green version, download decompression can
develop good habits, no Chinese in the directory without spaces, the recommended
two .eclipse shortcuts
1, alt + or alt + /:? Auto-complete code or prompt code

2, ctrl + o: Fast outline view

3, ctrl + shift + r: open the resource list

4, ctrl + shift + f: formatting code

5, ctrl + e: fast conversion editor

6, ctrl + page down or ctrl + page up: quick switch between tabs

7, shift + enter and ctrl + shift + enter: Create a blank or below on the current line.

8, Alt + down arrow keys: the uplink and downlink to exchange content or the content of the current row to move up or down

9, Control + Alt + up and down direction keys: copying one or more lines highlighted

10, ctrl + m: the current edit page window is maximized

11, ctrl + /: Comment current line or automatic selection of rows

12, ctrl + shift + /: code block selected automatically commented

13, ctrl + d: Delete the current line

14, ctrl + shift + x and ctrl + shift + y: conversion case letters

15, ctrl + shift + o: automatically introduce packages and delete unwanted package
three .idea install
downloaded Ultimate, you can install the needed attention such as crack version, find yourself cracking method online.
Four .idea shortcuts
fn + alt + insert introduced or generated dependent get / set methods

Ctrl +]: fast jumps to the end of the code blocks, such as {} enclosed
Ctrl + [: quickly jump to the beginning of the code block, such as {} fenced

Ctrl + /: // comment using
Ctrl + Shift + /: Use / ** / comment

Shift + F6: Rename
shift + enter wraps to the next line

Alt + /: copy on a word
Alt + Enter: automatic prompts to complete, an exception is thrown

3.alt + shift + r reconstruction, rename
5.alt + shift + f a method of collection, this is very important
6.alt + shift + m as extraction method

9.ctrl + shift + v to view the contents of the most recent copy of
10.ctrl + shift + h to see where the method is called
11.ctrl + shift + s setting is set to open

Ctrl + N: locate a class file
shift + shift find all
Ctrl + F: find the file in the current
Ctrl + R: replacement string

Ctrl + F12: Displays the current class file structure
Ctrl + H: display the current class inheritance hierarchy

ctrl + alt + L: formatting code
Ctrl + Alt + I: automatic indent

ctrl + alt + i formatting code
Ctrl + Alt + Down arrow: Copy the current code line down the
Alt + Up arrow moves upwards codes
Alt + Down arrow moves downward codes
five .eclipse Comparative IDEA
IDEA comparative disadvantages of eclipse:
1. Memory consumption greater, if not enough memory 8g do not recommend installing IDEA.
2.idea no free version, free version of the eclipse.
IDEA comparative advantages eclipse: the
automatic pilot package 1.idea's, idea automatically lead pack, you can import project set up automatic pilot package.
2.idea prompted by the more powerful features, especially the code out in Africa, and other places such as xml file.
3.idea more convenient to install plug-ins, such as idea to install lombok, support springboot projects.

Released four original articles · won praise 0 · Views 15

Guess you like

Origin blog.csdn.net/weixin_45449911/article/details/104418887