Skip to content
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

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

Open
1 of 4 tasks
mgabeler-lee-6rs opened this issue Jun 14, 2024 · 0 comments
Open
1 of 4 tasks

Comments

@mgabeler-lee-6rs
Copy link

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
  • Linux
  • other (please specify)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant