VSCode Adds Notebook Support
code.visualstudio.com
code.visualstudio.com
They look like a potential candidate for personal notes.
The Github and REST notebooks in the article imply something like this is possible.
I personally thought I would really value the ability to execute the code, but I found out that it wasn't useful to me. The kind of code I write in my notes is rarely executable. It misses library includes, boilerplate declarations, or sometimes isn't quite syntactically correct.
The overhead of trying to make each (or even most) cell in a Notebook executable takes away from the "whatever is most expressive" mindset I have for notes.
There's one big caveat though. Notebooks are much better for sharing with others. If the code is complete, and literally executable as-is, that is much more useful to others I show the notes. Most of my private notes don't have this constraint though.
I'd probably use notebooks if I was writing something I would possibly publish in the future. Much easier to share it with others to get feedback that way.
Outside of datascience they can be used for exploring API's, databases, prototyping libraries etc.
But for general note taking, markdown would be better.
For example, I'm working on a cli for a client that ingests a bunch of spreadsheets and processes the data in an SQLite db. Pretty lightweight, but it takes a half hour to run. Using Jupyter notebooks to import some classes and iterate on SQL queries without needing the entire corpus of data is handy.
I’d say they are great for any exploratory task, and doubly so if that exploration ends with a write up of the findings.
That’s very often needed in any kind of data analytics, which is why notebooks are spearheaded by data science use cases.
As someone who doesn’t use emacs though, I personally would love to see something like that with markdown/latex/notebooks. I guess you can already sorta do it with Jupyter and things like this.
Would be interesting for a more note-oriented tool to do this though.
https://marketplace.visualstudio.com/items?itemName=donjayam...
Can you use all the regular vs code extensions with "Code" that you can use with "VS Code"?
For the record, I'm also annoyed at the naming of Visual Studio Code. Not to be confused with Visual Studio which is a completely different IDE.