VS Code not auto indenting in jupyter notebook / ipynb files - visual-studio-code

I must have accidentally disabled auto indent in VS code jupyter notebook. Does anyone know how to fix this? For example, indentation on the next line after creating a function.

Related

Visual studio code template for Jupyter notebook

Is there a way to have each Jupyter notebook file start with some preexisting template code? For example, when I create a .ipynb file, the first cell would have some import statements of my choosing.
I looked through the Jupyter extension settings in vscode, but I didn't see anything relevant.

VS Code keeps making copies of my Jupyter Notebooks

I have a new installation of VS Code 1.62.3
When I open .ipynb files that were created in Jupyter Notebook and run the first piece of code, it keeps creating a second copy of the file with a hexidecimal name as a postfix.
Here is a screenshot of what it looks like:
This doesn't happen when I create the file in VS Code, only those created in Jupyter Lab.
Does anyone know why this is happening or how I can stop this?
Thank you

How to read a .ipynb in VS code

I have a .ipynb and Im trying to open it in VS code but I see it like this
Also I try to import the file from VS code an I got this error
Everything is in one line and I cannot see it as a Jupiter Notebook. How can I fix this problem?

Auto close brackets, "", etc not working in new VSCode native jupyter notebook?

I'm trying the new VSCode native Jupyter Notebook from the October Update. When I open .ipynb file and edit brackets aren't being closed automatically like on normal .py files. Is this intentional? Am I supposed to add my own settings to include autoclose brackets in VSCode?

How can i disable Jupyter as VS Code's default Python executor?

Jupyter kernel is slow to load and I don't need code cells in VS Code (they're poorly formatted anyways, and just awkward). Is there any way to disable Jupyter kernel as the executor and just go back to using ipython in the attached VS Code terminal?
This is what you need:
"python.dataScience.sendSelectionToInteractiveWindow": false
You can make it directly on settings.json file or through settings tab: Python > Data Science: Send Selection To Interactive Window.
You can make it at user or at workspace level.