Commit e8373c2
committed
feat: show informational diagnostic count in the Problems panel title
Info-level (META) diagnostics are listed in the panel but weren't counted in the
title, so a file with only suggestions read "0 Problems" above a visible info
row. Count them separately and append "(N Info)" when present, e.g.
"0 typescript Problems - foo.js (2 Info)". Error/warning counts and the existing
title formats are unchanged - the suffix only appears when there are infos.1 parent cf21727 commit e8373c2
2 files changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
408 | 414 | | |
409 | 415 | | |
410 | 416 | | |
| |||
762 | 768 | | |
763 | 769 | | |
764 | 770 | | |
| 771 | + | |
765 | 772 | | |
766 | 773 | | |
767 | 774 | | |
| |||
825 | 832 | | |
826 | 833 | | |
827 | 834 | | |
828 | | - | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
829 | 838 | | |
830 | 839 | | |
831 | 840 | | |
| |||
860 | 869 | | |
861 | 870 | | |
862 | 871 | | |
863 | | - | |
| 872 | + | |
864 | 873 | | |
865 | 874 | | |
866 | 875 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1004 | 1004 | | |
1005 | 1005 | | |
1006 | 1006 | | |
| 1007 | + | |
1007 | 1008 | | |
1008 | 1009 | | |
1009 | 1010 | | |
| |||
0 commit comments