microsoft / microsoft/typespec
VS Code extension folding with multiple lines of decorators is broken
Open
ide
triaged:core
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
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:
Whereas folding:
```
@open
@complex model customSecurityAttributeValue {
dooo: int32;
hooo: int32;
vooo: int32;
gooo: int32;
mooo: int32;
zooo: int32;
booo: int32;
}
```
shows:
Expected:
In both cases, the content of the `model` should be folded
Actual:
Both cases are broken, albeit differently.
Contributor guide
Assessment
This issue has not been assessed yet.