There are 4 ways to adjust the code size in Eclipse: 1. Use shortcut keys; 2. Adjust through the menu; 3. Through the zoom in/out slider; 4. Set custom default code through the right-click menu size.
How to adjust the code size in Eclipse
Adjusting the code size in Eclipse is very simple, you can follow the following steps Operation:
1. Select text
- Use the mouse or keyboard (Ctrl A) to select the code text you want to resize.
2. Use shortcut keys
-
Windows/Linux: Ctrl (zoom in)/Ctrl - (zoom out)
-
macOS: Command (zoom in) / Command - (zoom out)
3. Using the menu
- Click "Edit" > "Preferences" on the menu bar.
- In the Preferences window, go to General > Editors > Text Editor.
- In the "Font" tab, adjust the "Base Font Size" to change the size of the code.
4. Use the slider
- #Click the "Zoom In/Out" slider on the Eclipse toolbar (the gear icon in the upper right corner) .
- Drag the slider left or right to adjust the code size.
Tip:
- To restore the default code size, click the Reset button next to the Zoom In/Out slider.
- You can also set a custom default code size by right-clicking the code in the editor window and selecting Font > Set Default Font.
The above is the detailed content of How to adjust code size in eclipse. For more information, please follow other related articles on the PHP Chinese website!