In Jupyter notebook, when pressing Tab to bring up the autocomplete options, I find it cumbersome to use the up and down arrow keys on a mac to scroll through the list. I was wondering if there is any way of doing this (possibly by changing some configuration file) by using "Ctrl" + "P" and "Ctrl" + "n"?
I would appreciate any suggestions! Thanks.
Related
I'm currently new to Spyder and I'm trying to get a feel for the shortcuts.
I have seen that you can actually create multiple code panes using split vertical/horizontal (in order to work on multiple code files), however I didn't find any shortcut to switch between the multiple code panels I had.
So, is there any shortcut to move my text cursor from A panel to B panel ?
(Spyder maintainer here) There's no keyboard shortcut for that, sorry.
By autocomplete I mean having something like Intellisense in VS Code by which I can see available functions or members in a particular library?
Yup. Press control space (or command space, on a Mac) and autocomplete suggestions will appear.
If you navigate to Settings... and then uncheck "Automatically trigger code completions":
...you'll then be able to use tab-to-complete like in a conventional Jupyter notebook. From the Keyboard Shortcuts page of the Colaboratory app:
I'm on a macbook pro, Option+ Esc performs autocomplete for me.
Ctrl+Space (works on Mac as well), but I have to run the cell once:
If you have only one language on your macbook then you can press Ctrl + space for Mac, as well as for Windows.
Works like magic, see the image below:
If you have more than one language you are switching between languages using Ctrl + space, you need to use option+esc
On Windows it work the same way as with Ctrl+Space if you press Tab. Not sure about Mac, however.
you can check for what keyboard shortcut works for you in the settings in the keyboard shortcuts inside of the tools tab.
In several editors there is a feature to edit multiple lines pressing Alt + using the Mouse. I would like to produce this 'multiline-cursor' by means of the keyboard only without using a mouse.
Notepad++ column mode editing can be invoked by holding the Alt and Shift keys down, then using the arrow keys to extend the selected area. See the Notepad++ wiki. See also Notespad++ menu => Edit => Column mode which shows a popup with a brief usage tip.
In jupyter notebook with ipython kernel, when I hit something. + tab I see autocompletion list.
Is there a way to go next/previous with ctrl+something for example without leaving my home row (i.e., without arrow keys)?
Eclipse has an MDI structure (Multi Document Interface), so the search panel, the package explorer and the code editor can all be open in one window, but I haven't found a keyboard shortcut for switching between these panels. For example, after I search the code-base, I would love to have a quick shortcut for going back to the code editor.
If I understand your question correct, you are probably looking for Ctrl + F7 and Ctrl + Shift + F7. Other navigational shortcuts can be found in the menu: Window > Navigation.
Not an universal shortcut for going to any panel, but:
Ctrl+Shift+E
allows you to go back to any Editor (although it's still a little heavyweight for quick editor navigation).
And if you want to switch between perspectives its: Crtl + F8 and Ctrl + Shift + F8. You can go to Help > Key Assist... for a full list of shortcuts (this list will change depending on the active editor etc.).
There are two ways to do it.
One is how #VonC did it, in an earlier reply; using CTRL+SHIFT+E which opens a box containing all the panes with their paths.
The other one is to simply use CTRL+E, which will open a pop-up just over your cursor containing the list of panes open. Parse using arrows and ENTER