posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.76k stars 82 forks source link

Disable syntax error decorations in the console for Private Alpha #1114

Closed softwarenerd closed 1 year ago

softwarenerd commented 1 year ago

Syntax error decorations in the console are too aggressive and unhelpful or just plain wrong a lot of the time. For example, when entering a new variable, the user is told that they have a syntax error because the variable doesn't exist yet:

Image

Also, in Python, magics and auto magics, and the % magic introducer, erroneously show up as a syntax error:

Image

So for now, we need to disable this feature.

softwarenerd commented 1 year ago

I believe this issue is resolved in PR https://github.com/rstudio/positron/pull/1113

jennybc commented 1 year ago

I confirm that the type of examples shown above and in #1113, in both R and Python, no longer show a syntax error.