zokugun / vscode-explicit-folding

Customize your Folding for Visual Studio Code
MIT License
95 stars 14 forks source link

Add "explicitFolding.saveFoldsInProject" setting #80

Closed PAI5REECHO closed 2 years ago

PAI5REECHO commented 2 years ago

Describe the feature

Basically I want something like "bookmarks.saveBookmarksInProject": true but for this extension that way when I close and reopen a project it still has the same folds collapsed

daiyam commented 2 years ago

@PAI5REECHO Hi, it's a duplicate of #78.

You should try with "explicitFolding.delay": 0, but you might have issue with languages which already have a folding provider. The folding is managed by vscode, the extension can't control which region to fold or not. So, sadly, I can't do a explicitFolding.saveFoldsInProject.

I will try to make another PR in vscode to try to fix your issue.

For now, I will close the issue.