Skip to content

indentation is broken for @GetMapping snippet completion #1153

Closed

Description

@martinlippert

the indentation is broken when inserting a @GetMapping snippet completion. Results look like this:

	<*>@GetMapping("path")
public SomeData getMethodName(@RequestParam String param) {
	return new SomeData();
}

(where the <*> marks the position of the cursor when invoking the code completion)

Activity

  1. added this to the 4.21.0.RELEASE milestone on Dec 1, 2023
  2. self-assigned this
    on Dec 1, 2023
  3. added a commit that references this issue on Dec 1, 2023
  4. martinlippert commented on Dec 1, 2023

    @martinlippert
    MemberAuthor

    Fixed with ae68b8e. Due to the new InsertTextMode that we set to As-Is, we don't need to deal with magic client-side indentation anymore and need to remove that logic.

    Additional code cleanup work is needed for the next cycle: #1154

  5. added a commit that references this issue on Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: vscodetheme: code completiontype: bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions