-
Notifications
You must be signed in to change notification settings - Fork 94
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
Language features (R and Python) do not work in Quarto visual editor #1805
Comments
A potentially related issue (which I raised but then closed on the quarto github to prevent sprawl), the tab key works differently in visual mode (indents entire line) vs the editor (for example if your between quotes behind say file = it’ll suggest paths to local files.) |
I am realizing there is a lot that doesn't work in visual mode because of how it is a whole separate editor. As another example as pointed out in #1955 (comment), if you opt in to the RStudio Keymap, you cannot use the keyboard shortcuts for
|
We do provide completions in visual mode but they are a MESS. |
@juliasilge extensions suffer hard when providing their own completions + their own document model because the completion item filtering that vs code does is internal to vs code, and is not exposed to the completion hook that extensions get access to 😢 I think it does not affect source mode because it is backed by a typical |
Related to #1645
Related to #1572
As of build 1144, something like the R language support (code completions, hover help, etc) work when you edit a Quarto in source mode. However, when you try to edit the document in visual mode, the language support features are not working:
visual-mode.mov
Also notice you can't use tab to accept a completion that is offered:
Screen.Recording.2023-11-09.at.1.00.02.PM.mov
I observe this class of problems for both Python and R chunks in visual mode.
The text was updated successfully, but these errors were encountered: