Skip to content
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

Test: All code symbols for a notebook in goto symbols quickpick #194053

Closed
3 tasks done
amunger opened this issue Sep 25, 2023 · 0 comments
Closed
3 tasks done

Test: All code symbols for a notebook in goto symbols quickpick #194053

amunger opened this issue Sep 25, 2023 · 0 comments

Comments

@amunger
Copy link
Contributor

amunger commented Sep 25, 2023

Refs: microsoft/vscode-jupyter#13930

Complexity: 3

Create Issue


Pre-requisites - If you don't have python set up to run notebooks

  1. ensure python is installed on your machine
  2. open a workspace where you will be running tests for this TPI
  3. Create: new jupyter notebook and run print(1) in a cell.
    a. If the cell runs successfully, you're already set up, otherwise...
  4. The kernel picker should open, select "Python Environments..." -> "Create Python Environment..." -> select venv or conda, and whichever version you'd like.

A virtual environment should get created in your workspace with all necessary packages installed, and the cell should run successfully.

Testing

  1. set "notebook.gotoSymbols.showAllSymbols": true
  2. open a notebook with several symbols across multiple cells, and some markdown cells intermixed
    e.g. symbols.ipynb.txt (remove the .txt extension)
  3. Make sure you have a kernel selected so there is a language server available (you can just run a cell to check this)
  4. open the goto symbols quickpick ctrl+shift+o and use it to navigate to symbols in the notebook
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants