Commit d1bca1a
Make color recognition more specific (#8824)
Fixes #7184
To manually test, check that the sample code with a non-color does not
generate a color box:
<img width="236" height="268" alt="Screenshot 2026-02-24 at 9 29 04 AM"
src="https://github.com/user-attachments/assets/5f678813-b07c-4846-be35-ff5b72dc86ce"
/>
(`TestEnum.blue` has no color box, but `Colors.blue` does)
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Phil Quitslund <pq@users.noreply.github.com>1 parent 9fef30b commit d1bca1a
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
119 | | - | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| |||
0 commit comments