vscode-yaml
vscode-yaml copied to clipboard
Warning about over 5000 symbols shown even when yaml.maxItemsComputed is MUCH higher
Describe the bug
I have yaml.maxItemsComputed configured to 100000 in my user settings and 500000 in my .code-workspace settings, and yet when I open a large yaml file in my workspace (an OAS spec FWIW), I still get a toast that document symbols have been limited to 5000.
The large file in question is just under 500000 bytes, so it can't possibly have more than 500k symbols.
I was hoping there might be some informative output in the YAML Support output view, but it is completely empty.
Expected Behavior
The setting should be obeyed.
Current Behavior
A warning toast is shown. It is not immediately clear to me if document symbols have actually been limited however, or if the toast is a false positive.
Steps to Reproduce
- Create a multi-project
.code-workspace - Change settings as noted above
- Open a large yaml file
Environment
- [ ] Windows
- [ ] Mac
- [x] Linux
- [ ] other (please specify)