-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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
#region and #endregion last state is not saved #42217
Comments
I can't reproduce that.
@ryanfog Can you give your steps and find out what's special about your setup? |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Thanks for the document. A lot of screenshots and I'm not sure what each one wants to show. |
I wanted to show via a PSR that I collapsed the regions click save, closed visual code and re-opened it and all the regions were expanded and not collapsed as expected. |
Hm that's strange. You just close vscode and reopen it and reopen the same file. |
After some further testing the issue appears to be narrowed down a little more... create a region, collapse the region save the file, keep the file loaded but close visual code. The regions are expanded upon reopening visual code. If you close (x) the file in visual code before closing visual code it acts as expected. |
With ' keep the file loaded' you mean keep the editor tab open? |
yes exactly. |
same issues and it doesn't save the cursor position either, that's so annoying... |
I need more details about what you do and where you see the issue. |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
#region and #endregion last state is not saved aka collapsed or not collapsed. I tend to save my scripts with the region collapsed down and when I re-open a script they are all expanded again.
Reproduces without extensions: Yes/No
The text was updated successfully, but these errors were encountered: