Home > Article > Development Tools > How to set indent in notepad
First start the Notepad program.
Then select [Settings] - [Preferences].
In the pop-up window, select [Language] in the preference column.
Related recommendations: "Notepad using graphic tutorial"
Then set the column with the tab character on the far right, drag Move the scroll bar and find java.
Uncheck the box in front of Use default value, click the blue number, and set the value to 4 in the pop-up window.
Then check the check box in front of Replace with spaces and close it when finished.
After setting up, create a java program and test it. You can see that the tap indentation has become 4 spaces. You no longer have to worry about code misalignment. Got it!
The above is the detailed content of How to set indent in notepad. For more information, please follow other related articles on the PHP Chinese website!