posit-dev / positron

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

Add JupyterLab style keybinding (Shift + Tab) to bring up Help in `.ipynb` files #5378

Open pranaysuyash opened 6 days ago

pranaysuyash commented 6 days ago

System details:

Positron and OS details:

Positron Version: 2024.07.0 (Universal) build 15 Code - OSS Version: 1.90.0 Commit: d8da3ec9581aa7bcb9726babedacff4e3d528503 Date: 2024-07-05T03:51:32.592Z (4 mos ago) Electron: 29.4.0 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin arm64 24.1.0

Interpreter details:

Python 3.11.4

Describe the issue:

Jupyter Notebook style documentation using Shift + Tab is missing

Steps to reproduce the issue:

  1. Press Shift + Tab

Expected or desired behavior:

No function help/documentation support

Were there any error messages in the UI, Output panel, or Developer Tools console?

No

juliasilge commented 6 days ago

You are accustomed to using this in JupyterLab, correct? As far as I can tell, this does not work in VS Code using the Jupyter notebook extension.

What happens if you add the keybinding manually as suggested in https://github.com/microsoft/vscode/issues/137162? Is that what you are looking for?

pranaysuyash commented 4 days ago

Hi,

Yes, that is what I am looking for but that doesn't work. I have tried it earlier in VS Code as well.

pranaysuyash commented 4 days ago

In VS Code Shift + Command + Space works on ipynb files which I just found out. Something similar for Posit would be great.