Nei Mina
Nei Mina

Reputation: 159

Set 4 space Tab in Netbeans?

The tab button is moving 8 spaces but I would like for it to move 4 spaces.

Upvotes: 5

Views: 5828

Answers (2)

To make Netbeans tab for 4 spaces: press "Tools" -> "Options" -> "Editor" -> "Formatting". There should be a text field "Tab size" to set the tabbing size (see image bellow).

Netbeans tab spacing

Upvotes: 5

Park JongBum
Park JongBum

Reputation: 1395

For PHP users, in case "Tab size" number box is disabled, change "Language" to "All Languages" as shown above(Willmore's answer). Then the Tab size for PHP would become whatever you set there for "All Languages."

Upvotes: 0

Related Questions