vscode-java icon indicating copy to clipboard operation
vscode-java copied to clipboard

[BUG] "editor.autoIndent" setting erroneously controls javadoc newline character insertion

Open akinevz2 opened this issue 1 year ago • 1 comments

Below provided settings.json snippet, when added to settings.json leads to no * symbol being added after newline.

"[java]": {
        "editor.suggest.snippetsPreventQuickSuggestions": false,
        "editor.autoIndent": "none"
}

Without these configurations, I get unwanted behaviour where an indent is inserted before the * symbol on a javadoc newline.

akinevz2 avatar Jun 17 '25 14:06 akinevz2

Image

behaviour with the above snippet.

Image

behaviour with the "editor.autoIndent" setting commented out.

note: the indent appears regardless of setting, in both cases I have inserted only a newline character

akinevz2 avatar Jun 17 '25 14:06 akinevz2