How to go back from the native notebook experience in vscode Jupyter - visual-studio-code

So today my ipynb files were now opening in the native notebook experience and I want to revert back to as it was before. I tried installing previous versions of the jupyter extension but it's still opening my ipynb files in the native experience only. Any idea how I can accomplish that?

open your settings JSON (press F1 or Windows: Ctrl + Shift + P, Mac: Command + Shift + P)
add the following to your JSON settings:
"jupyter.experiments.optOutFrom": ["NativeNotebookEditor"],
restart vscode and check if you have the old version back.

Related

Snipping tool in popos using jupyter notebook in vscode

I use Popos and I usually get any portion of my screen to the clipboard using ctrl + shift + s on other applications but not on vscode. Anyone knows how to do this?

Is there a way to modify the Blank Jupyter Notebook on VsCode?

I'm using the Jupyter Extension from Microsoft in VsCode
Using Ctrl + Shift + P in VsCode and
I would like to modify the blank notebook so it has some pre written cells like
I googled but haven't found anything
I suggest you install an extension
File Templates

VSCode run ruby file from terminal

The VSCode python extension has a feature to right click and run a file from the terminal. Is there a way that I can use a similar feature to quickly execute a ruby file from the terminal? Perhaps a hot key to start a new terminal session and run the current file within the ruby install directory.
You can install the code-runner package opening the command palette:
command + shift + p (Mac)
control + shift + p (Windows/Linux)
Find and install it:
ext install code-runner
Then it'll ask you to reload the window, and depending which file type you're working in, you can type the ctrl + alt + n keybinding and your file output will be in the output tab.
Keep your Ruby code saved inside .rb extension file
And in the terminal run
ruby file_name.rb
Example:
ankita#ankita-Inspiron-5559:~/Ruby_asignment$ ruby prob_sol1.rb

Visual Studio Code: Unable to open 'MyFile.h': File not found

I got this kind of errors when attempting to go to the declaration of some attributes/methods (using ctrl/cmd + left click):
Unable to open 'MyFile.h': File not found
probably this happens because the file MyFile.h has been moved recently.
I solved this problem by forcing VSCode to re-scan the project structure.
In order to do that, I closed VSCode, deleted the .vscode hidden folder of my project, and opened it again.
I had the same issue and solved it by reloading my VS code window.
Ctrl + Shift + P on Windows
Command + Shift + P on Mac
Type:
Reload Window
Then select Developer: Reload Window

Sublime Text 3 has integrated terminal?

I normally use the WebStorm IDE for Node.js and FE JavaScript development. However I was thinking of using Sublime Text 3 since I am running out of computing power on a crappy old Macbook Pro and ST3 should be lighter on memory and CPU.
However, my one hangup is that ST3 doesn't seem to have a command line terminal integration possible. I find this to be a very useful feature that's available in Eclipse and WebStorm.
I did some Googling and I don't see any great terminal integration plugins for ST3, is there such a thing or not?
Here is WebStorm with the terminal integrated:
Terminus does this. Supports both Unix and Windows. Works great. 👍
In View (on Windows)
Ctrl + Shift + P --> Terminus: Open Default Shell in Tab (View)
In Panel (on Unix)
Ctrl + Shift + P --> Terminus: Open Default Shell in Panel
Type exit to exit and close the terminal opened in a panel.
I installed the Sublime package TerminalView that can show a terminal window within Sublime in a separate tab.
It works with MacOS or Linux but is no longer actively supported.
Installation:
Open the command palette (Cmd+Shift+P on Mac, Ctrl+Shift+P on Windows) and find Package Control: Install Package
Search for TerminalView and hit Return to install.
The terminal windows has a few flaws (at least on macOS) as it seems to conflict with Sublime's keyboard shortcuts. I however use it only to automatically run unit tests when the edited program code changes. Therefore it works just fine. In that case it works best if I show the terminal window below the text editor. You can do so in the menu View > Layout > Rows: 2.
In sublime 3,
ctrl + shift + p search Package Control: Install Package
Search and install TerminalView
to set shortcuts,
go to Preferences -> Key Bindings
on right side Pane paste this,
[
{ "keys": ["ctrl+shift+t"], "command": "terminal_view_open" }
]
Now ctrl+shift+t is your shortcuts
I prefer Terminus and it's the first cross platform terminal for Sublime Text. Check this video it might help you
I tried Sublime package - TerminalView, quickly realized I couldn't copy paste things. Tried on MacOS.
Terminus(https://github.com/randy3k/Terminus ) looks good to me, it has two options
(i) opens in a tab(view)
(ii) opens also in a panel. (which I prefer most)
The below original answer is now outdated; see below answer by Svish.
I was wondering the same thing a while back, and I believe the answer is: no.
There's no good terminal integration in ST3, except, maybe, for Terminal, which simply takes you to the terminal from any given project folder.
Works ok, but not sure how much it really saves.
No way to have it in the ST3 window AFAIK.