halirutan / Wolfram-Language-IntelliJ-Plugin-Archive

Wolfram Language and Mathematica plugin for IntelliJ IDEA.
https://wlplugin.halirutan.de/
Other
193 stars 26 forks source link

Nested With statements cause incorrect error highlighting #182

Closed JonMcLoone closed 3 years ago

JonMcLoone commented 3 years ago

Code of the form With[{a=1},With[{b=a},{a,b}]]; underlines the second "a" with an "Unused local variable" warning.

halirutan commented 3 years ago

To my shame, I'm already aware of this issue for a long time (https://github.com/halirutan/Wolfram-Language-IntelliJ-Plugin-Archive/issues/139). It's not as trivial to fix as I thought but it's on my pain list.