posit-dev / positron

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

Using `=` as assignment operator for R shows "PROBLEMS" #2956

Closed juliasilge closed 6 months ago

juliasilge commented 6 months ago

Positron Version:

2024.04.0 build 1579

Steps to reproduce the issue:

Use = as the assignment operator for R:

image

Reported in our private beta here: https://github.com/posit-dev/positron-beta/issues/159

What did you expect to happen?

We should treat = the same as <- and other assignment operators

Were there any error messages in the output or Developer Tools console?

Not that I believe are related

jmcphers commented 6 months ago

Should be ready for verification now that https://github.com/posit-dev/amalthea/pull/334 is merged.

juliasilge commented 6 months ago

In Positron 2024.05.0 (Universal) build 1157, we now treat = as a regular assignment operator and I see no PROBLEMS:

Image