vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

yaml.maxItermsComputed ignored

Open pcrooker opened this issue 1 year ago • 0 comments

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

  1. with the yaml language extension loaded in vscode, open the yaml file
  2. error occurs
  3. adjust yaml.maxItermsComputed
  4. close the yaml file, then close vscode
  5. restart vscode and open the yaml file

Environment

  • [ ] Windows
  • [ ] Mac
  • [X] Linux
  • [ ] other (please specify)

pcrooker avatar Aug 26 '23 05:08 pcrooker