I'm coding HTML in Notepad++. I want to Indent a block of code. I dislike the tab indentation and want to use 2 spaces instead. How can I add 2 spaces before a block of selected text/code?
Asked
Active
Viewed 475 times
-1
Steffan
- 506
- 4
- 13
1 Answers
2
Go to Settings > Preferences... Tab Settings. Change the tab size from 4 to 2. Check the "replace by space". Either do that globally, or for the file extension you want it to apply to.
IMarvinTPA
- 36
- 5