-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R auto complete not suggesting dplyr functions in vscode #658
Comments
I moved the issue in the repo for the Quarto VSCODE extension as it could be related to it but surely not to the R package. Does it make a difference if you run the first cell to execute all the libary calls ? Thanks |
The cells with the library calls were run before both screenshots |
Ok great. thanks Rmd support is brought by an external extension that must behave differently regarding language server stuff and autocompletion. I don't know exactly how this works here, and if this could be improved or not from the Quarto extension itself. I'll mark as a bug. In the meantime, you could give a try to Positron (https://positron.posit.co/) - they have context awarenesss for R and Python console and environment, so they may have enhanced support in addition to the Quarto extension. |
I'm pretty sure I have seen this exact issue few years ago. Meanwhile, regarding auto-completions issues upstream: |
And within this repository itself: |
Whenever I try to type out a dplyr function in a .qmd file, auto complete never suggests them. However, it works as normal in .rmd and .r files. Auto complete in a .qmd file feels not very smart. Sometimes it also doesn't suggest variable or column names, but this happens inconsistently enough that I haven't been able to replicate it for a screenshot.
I'm on:
VS Code 1.97
R 4.4.2
Quarto 1.6.40
Windows 11
Example .qmd:

Example .rmd:

The text was updated successfully, but these errors were encountered: