What is a perspective?
A perspective is a visual container that holds a series of views and content editors. The default perspective is called java.
An Eclipse window can open multiple perspectives, but only one perspective can be active at a time.
Users can switch between two perspectives.
Operating perspectives
Open the perspective dialog through the "Window" menu and selecting "Open Perspective > Other".
The perspective dialog displays a list of available perspectives.
This perspective list can also be opened through the perspective button on the toolbar (
) 。
View switching
In most cases, java developers use the Java perspective and the Debug perspective. You can switch freely through the perspective name on the toolbar.
Closing a perspective
Right-click the perspective name on the toolbar and select the "Close" item to close the perspective.
Customizing perspectives
We can set the perspectives we want through the custom perspective window.
- Click "Windows" => "Customize Perspective" on the menu bar => a popup window appears, where you can select the content you want to set in "Submenus".
- "New" => set your New menu, where you can select the most commonly used file types you usually need to create.
- "Show Views" determines the layout of the view you customize, that is, which windows appear after switching to your own view. Set it according to your own habits.
- Open Perspective" => which selectable views appear in the switch view menu.
- After everything is set, save your custom perspective. Windows => Save Perspective as, then give your custom perspective a name and save it.