-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugeditor-foldingEditor code folding issuesEditor code folding issuesverifiedVerification succeededVerification succeeded
Milestone
Description
When using JavaScript or HTML Language Mode, collapsing a javascript array does not work as expected.
When collapsing, notice the bottom bracket disappears:
When copying/pasting the collapsed block, only the top line gets pasted:
If I use Plain Text or JSON Language Mode, everything works as expected:
After pasting, the entire block pastes as I would expect:
Additional notes:
- In JavaScript mode, object collapse functionality works as expected--it seems that only arrays have this issue.
- VSCode version 1.37.0
- OS: Windows 10.0.17134
- Extensions installed:
- GitLens -- Git supercharged 9.9.3
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugeditor-foldingEditor code folding issuesEditor code folding issuesverifiedVerification succeededVerification succeeded