On jupyterlab/jupyter notebook, would you please help on those questions?
1.It loads part of cell only, I have to click to make it show. It takes a while to show all code.
2.I cannot see yellow part of error, how to change the color of words in the output window.
3.How to right click mouse to copy words instead of copy cell or making the default menu as browser menu?
You want to do ‘Shift’ + ‘right click’ to access the browser menu. See my answer here to ‘How do I copy an image from the output in Jupyter Notebook 7+?’.
Have you tried installing rich. If you install it, it adds an option for better details, colors, and syntax highlighting to Jupyter. (If you use pip as your package manger run %pip install rich in a cell and then restart the kernel, and if you use Anaconda, try %conda install conda-forge::rich in a cell and then restart kernel.) Then run at the top of the notebook:
You can see it action without modifying your own machine yet by going here and pressing ‘launch binder’. Alternatively, just click here to start up a session. When the session starts make a new cell and run this:
from rich.traceback import install
install()
Then in the next cell make an error.
Another tip:
Try the different themes under ‘Settings’ and see if they help.
I wonder if you are seeing this? Occasionally, I see cells below the top part disappear If I add a new cell it usually makes everything come back. Where I linked, it suggests duplicating the view of the notebook by right clicking the tab with the name of the notebook and choosing ‘New View for Notebook’. I imagine then you can just close that new view after it comes.
Thanks for replying.
I want to copy without using the left hand and try to find the shift key everytime while copying. The current menu (copy cell) is not used more often than copy word. It was so convenient to just right click then copy.
On all the Jupyter I have used, the typical OS version of the ‘Copy’ keyboard shortcut still works. On a Mac I use Command + C to copy text without needing any menu.
And if that isn’t satisfactory, there is an array of of options you can assign and or modify as keyboard shortcuts. The customization options are there. See the bottom of my reply here for an example.
Once you get in the ‘Settings Editor’ you can hit Command + f or the equivalent and bring up the search window at the bottom. Then search for the text ‘copy’ to see the options you can add or alter.