Stop Jupyterlab scroll down in the code cell - jupyter-notebook

It makes me really annoying that the code cell in the Jupyterlab often scrolls down so that I cannot scroll down to the cell that I want:
So is there a way to stop or shut-off this scrolling within code cell?
Thanks,

Related

Scroll further down in Jupyter without having to add empty cells?

I find myself having the last cell at the bottom of my screen when I'm in the last cell, but typically I want to have it in the middle or at the top.. So my current workaround is to just make a bunch of empty cells underneath so I can scroll further down.
Is there a setting that I can use to fix this issue properly? It's been driving me crazy lately. Thanks in advance!

How to modifiy line to line auto scrolling behaviour in Rstudio

When executing a script line by line in RStudio, the next chunks of code will appear automatically (the auto scrolling gets activated) when you're executing the fourth last visible line. This behavior is fine when having four panes, because it keeps the executed line on the middle of the screen.
I chose to reduce the left down pane to make room for the script. Now I would like to change the auto scrolling behavior, so that the next lines wont show at the bottom of the script (line 27 in picture) but on the middle of the screen(around line 14).
Is this possible?
Under options/global options/code/display, there is an option Allow scroll past end of document and highlight selected line
I am not sure whether this will help you, but to my understanding, Rstudio could not auto-scroll the page and make the line executed displayed at the center.

I want to get rid of this block in jupyter notebook's RISE

I am trying to load a widget (through HTML code) into my Jupyter Notebook's cell. I am trying out ways to get rid of the block shown on left side which shows "click to scroll output;double click to hide" in the below picture:
It's obtrusive. And also is there a way i can make the frame of the slide (highlighted in blue) larger (for only the current cell) so that it's clearer for view ?
I tried changing the "height" and "width" of RISE extension from "Nbextensions" tab but in vain.
This might sound ridiculous but, have you tried to remove this block using your browser's element inspector?
Example (remove code input)
Slide before deleting code input
Selecting correct div
Deleting input div
Slide after deleting code input
Of course it's just a temporarily solution and as soon as you refresh/reload your notebook it will be back as before.

How do I change Atom's bottom window height?

I recently started using Atom and try to make it as nice to work with as possible.
However I couldn't figure out how to change the height of the bottom window (a name for it would already help).
My goal is to have my console etc. as minimalistic as possible.
E.g.:
Atom's bottom window shown here with an output example from Atom-Runner
How do I only show the atom-runner's output and not the grey rest of the window on top of it?
How can I get rid of unnecessary labels like "Atom Runner: data.py"?
I found that you can change quite a bit within the styles.less file with commands like:
atom-workspace {
height: calc(...);
}
But that didn't really help me.
However I couldn't figure out how to change the height of the bottom window (a name for it would already help).
atom-runner displays its results in a bottom panel. There are a few different types of containers in the Atom window:
Panes are the content in the middle of the editor. Panes can hold as many items as you want, which are usually associated with a specific file (see TextEditors)
Docks are the expandable areas just outside the panes (the tree-view and github packages use docks). They can have multiple items and will create tabs for them.
Panels are the spaces on the edge of the Atom window. You can't hide them without disabling the whole package.
How do I only show the atom-runner's output and not the grey rest of the window on top of it?
The "grey rest of the window" is the bottom dock. You can hide it by clicking on the semicircle with the down arrow.
How can I get rid of unnecessary labels like "Atom Runner: data.py"?
I disagree that it's unnecessary, and you might some day find that you need to know what file you ran. However, if you want to do this, you can add the following to your styles.less:
.atom-runner h1 {
display: none;
}

how to enable horizontal scrolling in atom editor using keystrokes?

I have long lines of code. But i don't want to use soft wraps because it breaks the nice formatting - and there isn't enough space on my screen anyway.
I want to scroll horizontally - left or right based on keystrokes for example:
ctrl + right arrow/ ctrl + left arrow
What is the command for horizontal scrolling?
Or at least be able to press the scroll wheel of the mouse and drag left or right.. like it's possible in the browser sometimes.
Right now i do it with the horizontal bar from the bottom of the editor. It's soo time consuming. Thank you:)
Found it! It's actually very simple: use shift + scroll wheel.
Couldn't find a keyboard-only solution yet.

Resources