Skip to content

VS Code extension folding with multiple lines of decorators is broken #2747

Description

Currently folding in VS Code hides too much of the folded item, so you can't identify it.
For example folding

  @open 
  @complex model customSecurityAttributeValue {
  }

shows the following:

image

Whereas folding:

@open 
  @complex model customSecurityAttributeValue {
    dooo: int32;
    hooo: int32;
    vooo: int32;
    gooo: int32;
    mooo: int32;
    zooo: int32;
    booo: int32;
  }

shows:
image

Expected:
In both cases, the content of the model should be folded

Actual:
Both cases are broken, albeit differently.

Activity

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

Metadata

Metadata

Labels

ideIssues for VS, VSCode, Monaco, etc.triaged:core

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions