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
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.
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
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?
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?
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.