You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Jaime VF <jv...@gmail.com> on 2019/09/12 18:31:08 UTC

[apache netbeans ide] [formatting] [indentation] [tab]

Hello all,

When netbeans 8.x went to apache netbeans 10 and superior I noticed a
change in the way that apache netbeans handles a manual input of a tab.

In the editor options > formatting I have:
- Enable indentation: selected
- Expand Tabs to Spaces: no selected
- Tab size: 4

An image is attached.
This is particular for php language, but I think that is irrelevant.

In apache netbeans, an input of tab is set and shown always in the next
column of indentation, no matter the spaces left to reach said column. The
previous, in other editor is shown different. These editors always display
the 4 spaces as tab, generating a disorder of code between apache netbeans
and other IDEs or editors like vim, sublime, etc.

I attached images that show the previous.

So, my questions are:

1.- Is this supposed to happen?.
2.- If possible, how can I configure apache netbeans to handle tab inputs
like other editors?.
3.- Possible recommendations?.

I am using apache netbeans 11.0 in macOS 10.12.6.

I google searched this without helpful results.

Solving this would be very helpful for a lot of people.

Regards.