JAVA IDE IntelliJ Idea Usage Introduction (i)-Interface elements

Source: Internet
Author: User

(Note: Introduction to the idea-based version is: 11.0,:http://www.jetbrains.com/idea/)  

Open Idea, (when the first time it opens, a welcome page appears, Create a project to get to the main interface of idea, the main interface is shown as follows:  




The main interface consists of 6 main areas (the red numerals in the figure)  

1. Menus and toolbars  
2. Navigation bar: Help Locate and navigate the files in the project   when editing a file;
3. Status bar: Displays the current project, the state of idea itself, and some other information related to status  
4. Editor  
5. Tool window: auxiliary class window. IDEA provides a variety of auxiliary windows to help with various tasks,  
such as project management, code lookup, versioning, and so on, the concept of type Eclipse view,  
6. tool Window Bar: There is one at the top and bottom of the idea interface, Display and hide the tool window buttons  

A menu and toolbar  

Menus and toolbars contain various useful commands in idea, such as:  
(•) Open or hide the interface element in idea, You can use the View option in the menu bar  
(·) When you want to execute a command, but forget where to find the command, IDEA provides a quick    agile way to locate, press Ctrl+shift+a can trigger a command prompt interface, Enter the prefix of the command you want to execute, and list some of the commands associated with that prefix, and select the execution you want.  

Two about the navigation bar  
Show navigation bar There are two ways:  
(•) Select Navigation Bar option   from the View menu;
(•) Press ALT + Home. (Open in this way, the navigation bar appears as a floating form)  

 

Close the navigation bar there are two ways to  
(•) deselect the Navigation Bar option from the View menu  
(•) When the navigation bar is floating, press the ESC key  

Three about the status bar  

 

1 Click the icon to control the display and hide of the tool window bar
2 The command description and description currently selected in the menu bar or toolbar or right-click context menu
3 Clicking the icon triggers the background task Manager
4 The position of the current cursor
5 The current file encoding, if the current file is not automatically selected encoding, it can be encoded by the choice
6 The write mode of the current file, whether insert (insert) or overwrite (overwrite)
7 Indicates whether the current file is read-only or writable
8 Indicates the highlight level of the current syntax, with Inspections,syntax,none, which can be changed by clicking on the icon
9 Some logs of idea run time, click to view
10 Idea memory heap usage, click Trigger garbage collection



Four About tool windows
Each tool window provides a variety of perspectives and programming tasks, and some tool windows are always visible, and some tool windows must be visible when the relevant plugin or facets is activated. Control tool window display or hidden keys are distributed on the tool window bar, and the display and hide states are distinguished by color:



tool window display and hiding is based on the tool window Placement Group, each tool window bar is divided into 2 groups (horizontal tool window bar left and right side, vertical window bar of the upper and lower sides, you can drag the tool window button to move the group), each group has only one display tool window, When you select a window in a group, the original window of the group is automatically closed.




(•) Manipulating tool windows

Close all tool windows
1. Through the Window in the menu bar | Active Tool Window | Hide All Windows
2. Ctrl+shift+f12.

Save the current window layout:
Menu Bar Window | Store Current Layout as Default
If you need to reset the window Layout Select Menu Bar Window | Restore Default Layout

(•) Viewing mode for window tools (viewing Modes)
tool windows provide different viewing modes to control the display and presentation of tool windows, to help users quickly navigate to tool windows, or to maximize editing areas

1. Fixed and floating modes (fixed/floating mode)



When the window is in fixed mode, the window is filled with the length or height of the tool window bar (depending on whether the tool window bar is horizontal or vertical) if the same window mode or non-docking mode (undocked model)
When the window is in floating mode, it can be placed anywhere on the screen, and when the window is inactive, when the window is pinned (Pinned.model) it becomes translucent (transparency depends on the transparency setting in the appearance settings)


2. Docking and de-opening modes (docked/undocked mode)




This mode is based on the window-time fixed mode (fix) function. In docking mode, the interface elements that are adjacent to this window will surround the window, and resizing the window will adjust the size of the adjacent window adaptively. When the mode is off. The window will become the topmost interface element that will cover the other elements that intersect it (except for the tool window, cannot cover the other tool windows, there will be no intersecting parts, and when adjacent to other tool windows, the adjacent boundary cannot be adjusted), resetting the window size of the off mode does not adaptively adjust the size of the other elements. When a windowed window becomes inactive, it is automatically hidden.

3. Pinning and non-pinning modes (pinned/unpinned mode)
This mode determines whether the tool window is hidden or visible when it becomes inactive. Pinned mode is visible and will be automatically hidden in unpinned mode. There are, of course, some exceptions based on other models:
undocked mode is always hidden when the window is inactive
Floating mode will become translucent when the window is inactive

4. Split mode
This mode determines how many docking modes (docked) in the same tool window bar can be displayed at the same time (1 or 2), while the tool window groups the Windows attached to it according to the pattern, separating the pattern into a group of non-detached modes for another group, At any one time, only one window in each group is visible



5. Tabbed Content
This mode is used to control how a window with multiple content layers needs to be presented in a way that selects the content layer
Tabbed Mode using tab form



Non-tabbed form, use the drop-down list to select:



The mode can be turned on and off by either the context menu (right-click menu) or the main menu bar of the window
Window | Active Tool window to convert

Changing the viewing mode can be done in the following ways:
Click the icon in the title bar of the window
Window through the main menu | Active Tool Window

(•) Speed Search in the tool window
1. Select the desired tool window
2. Enter the name of the content you need to find (File, class, field, etc.) when you type, the search field will appear on that window and display the characters you entered
3. When you are finished, press Enter and the required results will be displayed and selected on the window. Press ESC to hide the search domain

Original link: JAVA IDE IntelliJ Idea Usage Introduction (a)-the interface element

JAVA IDE IntelliJ Idea Usage Introduction (i)-Interface elements

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.