0

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?

Steffan
  • 536
  • 5
  • 15

1 Answers1

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
  • 54
  • 7