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.
Related
I've recently updated my VSCode and most of its shortcuts don't work anymore. I tried to reinstall my VSCode but it didn't work. I've checked if it's affected by any other system shortcuts but I wasn't lucky enough and none of them worked for me.
Some shortcuts like:
ctrl + d,
ctrl + shift + k,
etc.
I found a solution for this problem.
go to : File>Preferences>Keyboard Shortcut
Then from upright of the page select the icon that says open keyboard shortcuts. Like below
In the keybindings.json tab you may see something like this:
Replace everything with the settings from the following links:
if you are using windows copy settings from this link: windows.keybindings.json
for mac: macos.keybindings.json
for linux: linux.keybindings.json
and if you want to see all available options see this link: vs-code-default-keybindings
after saving the file, your vscode shortcuts will work properly again.
There could be many reasons. First check that if there is any other application overrides the shortcuts or not.
If there are multiple VS windows, some binded keys are did not work. In my case, everything worked when I closed the windows. Except a one window.
I was looking at default keybindings but didn't find it.
Is it even possible by default to toggle between opened tabs in VS Code?
If no, maybe you know extension for doing so?
Thanks!
On a Mac, ctrl-tab does exactly what you're asking for. I'm not sure what the equivalent is for Windows or Linux.
In windows CTRL+PgUp to previous tab and CTRL+PgDown to next tab.
When using Visual Studio Code on Linux/Windows, you can use CTRL + PAGE_UP to switch to the previous tab, and CTRL + PAGE_DN to switch to the next tab. You also have the ability to switch to tabs based on their (non-zero relative) index. You can do so, by pressing and holding ALT , followed by a number (1 through 9).
For more details: check here
I am using VS Code with the excellent vscodevim extension. When I navigate to a code that has a Quick Action available I can ctrl + . to activate the drop down context menu.
Is there a way to select toggle through the list of available items using the keyboard - other then the arrows keys. As a point of information, within Visual Studio it is possible using tab, this does not work in VS Code.
Why? 'cause I love my MS ARC keyboard but I hate the rocker arrow keys.
This is a known issue for linux users using vscode with advanced shortcuts like vim extension in your case, for some reason quick fix contextual menu is unattached from vscode shortcuts which makes shortcuts not work. A really easy workaround to use with a graphical interface is HotKey.
HotKey > https://github.com/autokey/autokey for Linux and create your own shortcut.
I would like to ask if there exists some functionality in eclipse where it's possible to choose all available commands, instead of having to remember all the shortcuts.
Something like the command palette in sublime text 2. Where you by pressing ctrl+shift+p (windows/linux) get an input popup box where all availble commands can be choosen.
Does such a feature exists for eclipse, or should I develop it by myself?
Thanks in advance.
I just bumped into this feature by accident but looking up to see if I figure how to get to it. it looked like it popped up when I started typing after having launched eclipse without focusing on any particular view... more to come as soon as I find out for sure.
EDIT: Apparently when you first launch Eclipse the focus is on the "Quick Action" search box on the top right of the tool bar and that's where you can start typing command names for it to list and let you pick in good Sublime Text style. Not sure how to shortcut into the box other than clicking it, but apparently there's the feature.
EDIT#2: http://www.vogella.com/tutorials/EclipseShortcuts/article.html#shortcuts_overview describes Ctrl+3 as being the shortcut to get there, on the Mac it translates to Cmd+3.
I haven't been able to find anything, so I have started on developing my own plugin.
I'm running Leopard and do all my Java development in eclipse. Some of the shortcuts work such as Command-1 which will do a quick suggest. However how do I get the Function Keys (F5 for refresh in the package explorer) to work? Right now it brings up spaces or whatever System Preferences maps to that.
What about Control-click into a breakpoint when I'm debugging and want to go directly to the chosen function? Is there a way for my eclipse keyboard shortcuts to take precedence over other programs?
i'm running eclipse 3.4 though I've had this problem since eclipse 3.2.
Its been a while since I used eclipse on the mac but I think you have to go to Preferences.app and check the "keyboard" pane. There should be an option that chooses if its Fn-function-key or just function-key for the key press. After that, it would be Fn+F5 for expose and just F5 for F5. You will lose the ability to dim the screen and adjust the sound from the keyboard.
In system preferences under keyboard there is a toggle to turn the f keys into real function keys
Are you using a macbook? In OO.org at least, you have to press fn-fx to get at the application short-cut, otherwise you get the system-wide one.
This doesn't sound like an Eclipse problem.
Are you using an External Keyboard or a macbook ?
If you want to use the debuggers and stuff, you need to change the interpretation of the function keys. You have to manually hit the FN key on your laptop keyboard. Some external keyboards have a function lock.
What about the control click and going directly to the function? That works on the windows version of eclipse, but I can't seem to get it working in Mac OSX.
Tried:
command click = nothing
option click = nothing
control click = opens context menu (like clicking the right mouse button)
You can change system level default behaviour from preferences as #sorin explained. A correction to the claim in the last sentence,
"You can use Fn-function-key to dim the screen and adjust the sound from the keyboard."
for making function keys work for external keyboards by default (and not having to push the extra fn key):
Change the default function key behavior
Choose Apple menu > System Preferences.
Click Keyboard.
Select "Use F1, F2, etc. keys as standard function keys on external keyboards".