vscode-yaml
vscode-yaml copied to clipboard
yaml.maxItermsComputed ignored
Describe the bug
My yaml file is a hierarchical structure for describing plants: https://wikibotanica.net/static/plant_schema.yaml . When I load it in vscode with the yaml extension, I get the warning:
For performance reasons, document symbols have been limited to 5000 items. Use setting 'yaml.maxItermsComputed' to configure the limit.
I duly edit the user and workspace settings to say 20,000 (I've tried various numbers including 1000000 just for fun), but I still get the error. This behaviour is not consistent, the error may not happen for a few openings but it does recur over time.
This is with extension version 1.14 and multiple vscode versions, currently 1.80.1
Expected Behavior
The extension should 'compute' all documents.
Current Behavior
As stated, the error occurs. I'm not sure whether this means the file is partially parsed - yaml syntactic errors are caught throughout the file and I can fully use it in my app. At the minimum it is an annoying message.
Steps to Reproduce
- with the yaml language extension loaded in vscode, open the yaml file
- error occurs
- adjust yaml.maxItermsComputed
- close the yaml file, then close vscode
- restart vscode and open the yaml file
Environment
- [ ] Windows
- [ ] Mac
- [X] Linux
- [ ] other (please specify)