Skip to content

Give control over auto unfolding on file selection #184686

@DoruNow

Description

@DoruNow

PopOS, flatpack VSCode (not sure it makes a difference), VueJS
Have 2 files open
ctrl+k ctrl+0 in file1 (will fold everything)
Select file2
Select file1

Code is unfolded. I need it to stay folded the way I left it.

When I fold code, I think it should only be unfolded by repeating the same command.

My real life use case:

I work within a vue project and I can use ctrl+k ctrl+4 to fold all methods in the file, then I expand maybe 2 or 3 methods from the > which then points downwards.

At least (but enough)
Persist folds per session

Better:
Persist folds through sessions

Best case scenario:
Persist folds through sessions
Be able to fold folder wide

Too much maybe:
Be able to fold by file type

Metadata

Metadata

Assignees

Labels

editor-foldingEditor code folding issuesinfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions