Open notpeter opened 1 month ago
The ability to exclude certain files from diagnostics would be nice, too.
For convenience (silly me), I added a big file that I did not want to be checked to a project and there was no way to exclude it from diagnostics, which would generate lots of unsolvable errors. I couldn't pass options to the Language Server to ignore/exclude the file; if I excluded the file from the project ("file_scan_exclusions" option) the LS would still check the file, and even changing the file type/extension (losing therefore any type of highlighting, structure, etc.) would still check the file somehow, spending lots of resources.
Edit: in the end, I think that setting the file as "plain text" may have worked, but it still is annoying not having any syntax highlighting.
Check for existing issues
Describe the bug / provide steps to reproduce it
Steps to reproduce:
Bask in the glory that is a responsive Zed rendering a diagnostic panel with 23908 error (and 1 warning).
Note, this file is not properly format JSON, it has
'
instead of"
.Pathological json originally provided in: https://github.com/zed-industries/zed/issues/9639
Environment
Zed: v0.155.0 (Zed Nightly 2470db490115322720f85e2ad57e922de930ee1b) OS: macOS 14.7.0 Memory: 64 GiB Architecture: aarch64
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.