Skip to content

Code generation formatting issue (wrong indentation) #3868

Closed

Description

@matbhe

In vscode 1.95 with plugin version 1.36.0 (and probably later) the indentation of generated java code seems no longer to be correct:

Initial situtation in editor
Image

Executed code generation action
Image

Generated output (with wrong indent)
Image

I've tested it on different machines (of my coworkers) and the generated code looks everywhere the same.
Modifying any indetation and formatting settings did also not help.

VSCode:
Version: 1.95.3
Electron 32.2.1
Chromium 128.0.6613.186
Node.js: 20.18.0
OS: Windows_NT x64 (WSL)

Activity

  1. datho7561 commented on Jun 24, 2026

    @datho7561
    Contributor

    I'm guessing this was fixed somewhere along the line, it appears to be working for me now. Feel free to reopen this if you can reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions