posit-dev / positron

Positron, a next-generation data science IDE
Other
994 stars 22 forks source link

Diagnostics not fully disabled #3685

Open strengejacke opened 3 days ago

strengejacke commented 3 days ago

When I disable diagnostics ("positron.r.diagnostics.enable": false), it takes immediately effect. However, after re-starting Positron, I get diagnostics warnings for some code lines, but not for all. But why do I get the diagnostics at all?

This code line is marked:

image

Others (in the same file and function) are not (as expected, because diagnostics are disabled)

image

strengejacke commented 2 days ago

I guess the second isn't highlighted because it's a function call inside a function (i.e. used as argument). Anyway, disabling diagnostics does not have the desired effect.