microsoft / microsoft/monaco-editor
[Bug] In the diffEditor, how can I fold the code? I set folding, but it is not working.
Open
Nobody has claimed this yet.
bug
diff-editor
- Dominant language
- JavaScript
- Stars
- 46.8k
- Forks
- 4.1k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 1
Description
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
For example, this playground example:
Monaco Editor Playground Code
Reproduction Steps
No response
Actual (Problematic) Behavior
I cannot fold the 'bb' line.
Expected Behavior
I want to fold the 'bb' line
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked Monaco Editor Playground example and inspect how the diffEditor and folding settings are configured. Reproduce the inability to fold the “bb” line; done means identifying whether the playground configuration supports folding and documenting a confirmed fix or the missing reproduction details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100