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.
While I like to use the IDE's default indentation level of four spaces for newly written XML files, a lot of existing XML files use two spaces to indent (or occasionally other values such as one or three). Editing such files in NetBeans is quite tedious, since you need to manually correct indentation on every line you edit... and Alt-Shift-Left/Right will only happen to do something useful if you want to adjust indentation of a block by a multiple of four spaces, i.e. this will not work if you are wrapping a block in a single tag. Suggest making the editor automatically configure its indentation according to the indentation of the first child of the document element, falling back to four spaces in case there is no unambiguous answer this way. This should work well for both new and existing files without needing to add any new configuration UI. (I looked under Tools > Options > Editor > Formatting > Language, but XML was not listed as an option, so I could not even temporarily set the Number of Spaces per Indent to 2 without affecting non-XML files too.)