-
Notifications
You must be signed in to change notification settings - Fork 91
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
F1 doesn't open help panel in Quarto chunk #4097
Comments
We had a related problem in #1645 where all language features didn't work and thought we had fixed that, including F1 help. |
Huh, weird! All other language features work in both source and visual editor modes, just not F1 source-visual.mov |
This is not an R only problem. For Python as well, F1 help works in a regular |
Ahhhhh cool I'd never noticed that! It looks like the Quarto extension is hijacking the Positron help panel. I opened an issue over there to link these things: quarto-dev/quarto#580 |
Addresses #4097 Goes together with quarto-dev/quarto#599; the Quarto PR is needed to actually see this work but this PR should be able to be merged on its own. ### QA Notes In a Quarto file, you should be able to use <kbd>F1</kbd> to bring up help for R like so: ![help-quarto](https://github.com/user-attachments/assets/e23c6a23-f0c5-404e-8284-1274c7c66b8b) This is only working right now for R, because of #5290. When we fix that, we should also confirm it works in a `.qmd` as well.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
QA NotesTo see this fixed, you will need both the version of Positron that has #5292 and the version of the Quarto extension that has quarto-dev/quarto#599. Note Heads up to our valued beta folks! This isn't in a publicly available build of Positron as of my writing but will be early next week. You can get the appropriate version of the Quarto version from the artifact here (download, unzip, install the Python does not work because F1 help is broken for Python entirely as now tracked in #5290. I did not change anything about the Given that we made some other architectural changes in quarto-dev/quarto#599, it would also be great to run through a bit of spot testing of hover, statement range provider, signature help, and completions in |
Verified FixedPositron Version(s) : 2024.12.0-21 Test scenario(s)
Link(s) to TestRail test cases run or created: |
Positron Version:
Positron Version: 2024.07.0 (Universal) build 41
Code - OSS Version: 1.90.0
Commit: 9f24124
Date: 2024-07-12T04:30:16.648Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0
I'm not sure if this is a Quarto extension issue or a Positron issue, or if it's related to #3753, but the F1 shortcut for help doesn't seem to work in R chunks in Quarto documents on macOS. The documentation does show up when hovering over function names, and running
?whatever
in the console works fine too—it's just the F1 shortcut that doesn't do anything (and doesn't emit any console messages either)Here's a little video:
quarto.help.mov
Steps to reproduce the issue:
What did you expect to happen?
I was hoping the help panel would appear
Were there any error messages in the Output panel or Developer Tools console?
Nope!
The text was updated successfully, but these errors were encountered: