-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Folding resets after restarting VS Code #111
Comments
Do you have the following settings?
|
|
The folding state is managed by VSCode so I would incline to say it's a VSCode bug. I have also the issue when, sometimes, I have extra foldings. It took me a while to understand it was foldings generated by the default folding provider (before switching to my provider), then saved as "Manual Folding Ranges" by VSCode. Solution: command |
Ran this command, didn't help me. As I mentioned in microsoft/vscode#189610 the folding state doesn't reset if I disable your extention. Seems there is some conflict in saved folding state and your extention when it's loaded after app start. Maybe the logs will help? |
Describe the issue
VS Code resets all the folding when I close it and open again. I've found the problem in your extention, see microsoft/vscode#189610.
To reproduce
Fold some functions in .gs file (Google Apps Script, language mode JavaScript), close and then open again VS Code. You will see all the functions unfolded.
Code Example
Settings
Expected behavior
Save the folding state after VS Code restarts.
Screenshots
The text was updated successfully, but these errors were encountered: