Skip to content

Folding/Unfolding Glitch as well as CSS color palettes not showing all of a sudden #248022

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

Open
DYT5131 opened this issue May 2, 2025 · 5 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@DYT5131
Copy link

DYT5131 commented May 2, 2025

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

Hi, all of a sudden, I am unable to collapse (fold or unfold) functions in html files and in css files, the small color boxes that show the pallettes are not showing. They show for some rules but do not for others which is weird. I do not see anything wrong with my code. This has happened to me before but got resolved on its own. Not sure if you fixed it.

@aeschli
Copy link
Contributor

aeschli commented May 7, 2025

What is the editor language mode shown in the status bar? Maybe some extension added a new language for the given file extension.
Also run with extensions disabled to make sure it is not an extension that causes that.

@aeschli aeschli added the info-needed Issue requires more information from poster label May 7, 2025
@DYT5131
Copy link
Author

DYT5131 commented May 10, 2025 via email

@aeschli
Copy link
Contributor

aeschli commented May 13, 2025

We have a maximum number of folding regions per file (for performance reasons). You see a warning icon on the language selector when that is reached.
There is a setting you can change: editor.foldingMaximumRegions

@aeschli
Copy link
Contributor

aeschli commented May 13, 2025

The same for the color decorators: editor.colorDecoratorsLimit

@aeschli
Copy link
Contributor

aeschli commented May 13, 2025

Please let me know if that explains what you see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants