Are error highlights and auto complete missing in Jupyter Notebook?

Viewed 509

I am learning data science for the first time. The course I am taking recommends to use Jupyter Notebook as IDE.

I can't find the feature of predetermining potential errors before running the code.

I used Sublime Text when I first learned Python, and if I'm remembering correctly Sublime Text underlined typos or undefined variables etc.

Is there a way to enable the feature in Jupyter Notebook?

I am curious as to why such an essential feature to an IDE is missing in Jupyter Notebook.

++ I also just noticed that auto-complete feature is missing as well.

1 Answers

There are extensions to jupyter:

you'd get lots of them by running

pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install 

Now when you run jupyter, you'd have a new Nbextensions tab where you can select which extension to use.

There's a spelling extension there, but I didn't see a "possible error highlight" extension there, but there's this extension which does that.

Related