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

Warning about over 5000 symbols shown even when yaml.maxItemsComputed is MUCH higher

Open mgabeler-lee-6rs opened this issue 1 year ago • 0 comments

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

  1. Create a multi-project .code-workspace
  2. Change settings as noted above
  3. Open a large yaml file

Environment

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

mgabeler-lee-6rs avatar Jun 14 '24 15:06 mgabeler-lee-6rs