This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In source editor, the default tab size is 8. I want to set in to 4, and I do it by edit property at Menu->Tools->Options->Editing->Java Editor->properties->Tab Size, but it doesn't effect. If it is a bug or I do a wrong way? It also happens in change property of Editing- >Indentation Engines->Java Indentation Engines- >Number of Space per Tab.
Changing Menu->Tools->Options->Editing->Java Editor->properties->Tab Size will affect the real '\t' characters in the text. Editing->Indentation Engines->Java Indentation Engines- >Number of Space per Tab affects the indentation level size i.e. the TAB character will move caret by the given amount of spaces. Please note that the changes in the variables above do not change data of the document. Unless there are any '\t' characters present in the source there won't be any change visible. To physically reformat the file according to the new settings Popup->Reformat Code action can be used. Is this still a problem then?
Sorry! I mean that I can't change the "Tab Size' value in this way. If I change the value to 4, and move the focus to other field, the value turns to 8 itself. It seems that the field is not editable.
I see. You need to press Enter right after you type the new value. I also find this inconvenient so transferrign to core for further evaluation.
FYI, we are considering changing the property sheet behavior to be commit-on-focus loss, but this is a significant change and even if we decide to it will not be doable for 3.6. *** This issue has been marked as a duplicate of 39796 ***
verified duplicate