In Intellij you can type Ctrl + Shift + A to do a quick search for shorcuts. Does Xcode have this feature? How can you determine a shortcut in Xcode other than asking the Google?
As #matt points out ultimately Preferences / Key Bindings is what I'm after. And the shortcut to get to Preferences is: Command + ,.
Related
In most editors (including Visual Studio proper), I can use Shift+End to select all of the text from the cursor location to the end of the current line, and Shift+Home to select all text up to the beginning of the line.
These shortcuts don't seem to work out-of-the box (at least, on the Mac version). Is there some way to enable this, perhaps with a plugin or a setting I'm missing?
Strange it should work out of the box. If not, go to File > Preferences > Keyboard Shortcuts and look for cursorEndSelect.
{"key": "shift+end", "command": "cursorEndSelect", "when": "editorTextFocus"}
I use following inbuilt shortcut (VSCode 1.39.2, MacOS 10.15)
⌘ Command + ⇧ Shift + → Right Arrow key combination
You can access keyboard shortcut reference here: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
You can visit this link anytime from VS Code by navigating to
Help > Keyboard Shortcuts Reference
It now appears to be ⌘ Command + ⇧ Shift + ↓ Down Arrow
(MacOS Big Sur 11.6)
The way that I set up mine is to go to File > Preferences > Keyboard Shortcuts and look for cursorLineEnd and cursorLineStart. Set these to with your own shortcuts for jumping to the end and beginning of a line.
My OS is Mac.
I have opened several projects in AndroidStudio, sometimes I wanted to switch between the projects to choose a project. Is there any keyboard shortcuts to do it just like "command/ctrl + tab" ?
Use Cmd + ` (Cmd + Backtick). It switches between all the projects that are open on Android Studio.
In Android studio command to switch between diffrent project windows (i.e. windows those are not minimised) is as following :
⌘` -> (i.e command + backtick) -> for next project window
⇧⌘`-> (i.e shift + command + backtick) for previous project window
You can add your preferable shortcuts in Android studio -> Preference -> Keymap
Sometimes it doesn't work because of conflicts with other shortcuts.
Go to the menu "Android Studio" -> "Preferences", choose "Keymap".
And, use the search field for quick access.
For example, I made Ctrl+Shift+` shortcut, which is easy to use with one hand.
I'm not familiar with the Mac version of Android Studio, but the standard key combo for switching between windows within an app on the Mac is cmd-` (cmd-backtick) unless the app maps that to something else.
For AS 3.5.3 and after, open Window menu and look for Next Project Window or Previous Project Window options. They have the shortcut combinations next to them.
Precisely:
Next Project ⌥ ⌘ `
Previous Project ⌥⇧ ⌘ `
On a MacBook Pro keyboard getting the backtick requires pressing Shift so stock shortcut doesn't work (Studio 3).
But you can remap it to use the 'tick' instead : ´
So it becomes ⌘ + ´ for next project
and ⌘ + shift + ´ for previous project (equivalent of ⌘ + `)
That is probably what the designer had in mind.
A forward tilted tick to indicate a forward navigation and the
backtick symbolizing "backwards".
See Android Studio -> Preferences -> Keymap -> Main Menu -> Window
⌘` is the default shortcut. But since I have Android Studio 3 installed it doesn't work anymore. I solved this by replacing it through ⌘^ which is the same key combination.
When I update android studio to version 4.2.1, I also can't switch project. When I swith to official keymap like "Eclipse (macOS)", I search "cmd+ Backtick". I find the name is "Active Next Window". So I switch to my keymap and search "Active Next Window" as the second screenshot. Then I set it to "cmd+ Backtick".
Backtick is the "'" key on keyboard.
Windows - Command + ` (Backtick)
Mac - Option + Command + ` (Backtick)
Command ⌘ + Backtick `
It's Worked for me.
To switch between projects:
command+option+`
I have checked Preferences->Editor->Code completion. Basic code completion is turned on. Shortcut is ^Space. When I click [control]+[space], it is opening spotlight search instead of code completion. How to solve this problem?
You need to change the Mac OS X keyboard shortcuts (Preferences | Keyboard | Shortcuts | Spotlight) and either disable the "Show Spotlight search" shortcut or reassign it to a different key.
As an alternative to yole's answer: Since I did not want to modify my system's shortcuts to have them the same across my Macs, I just edited the shortcut in Android Studio (Android Studio -> Preferences -> Keymap and change Basic Completion).
I've used Option+Space which is not assigned to any global shortcut.
P.S.: This is indeed a nuisance coming from years of Windows usage.
I'm running Android Studio on Windows 10.
File -> Settings -> Editor -> General -> Code Completion
The default hotkeys for Auto-Complete are:
1) Control + Space + Spacebar
2) Control+ Spacebar
Click on Alt+Enter to make Auto Complete
The shortcut is different now but is still working, you just need to click
ctrl + space
. The ^ you see listed in your preferences is the symbol for ctrl on a mac.
On MacOS Ventura (13.0), Ctrl-Space is assigned to switching input sources.
This needs to be disabled or changed to some other keys in System Settings... Keyboard > Keyboard Shortcuts > Input Sources if you want to keep using the same short cut in Visual Studio.
I'm finally starting to get over my initial frustrations with Xcode 4.0 (why on earth did they think changing all of the keyboard shortcuts was a good idea).
However, one simple task is beyond me right now... how do I switch between multiple open projects via the keyboard?
For example, I have two different Xcode projects open, and the mac will put them both into the same Xcode application (unlike Windows where you can easily see multiple instances of the same application open). I want to quickly toggle back and forth between these projects without going to Window -> (choose the other project). Is there an easy keyboard shortcut for this? It seems that there used to be.
To switch use following Keyboard shortcut
Cmd + `
Command + tilde("~") keys. Can be very useful when you have limited screen space.
Furthermore, XCode windows must not be "maximized" (the icon with two arrows up on the right), otherwise the key shortcut has no effect.
Xcode 8.3.3 - German Keyboard
Cmd + Shift + <
Update:
In fact there is a keybinding in Xcode that overides the system wide shortcut to switch between windows on german keyboards. The keybinding is Cmd + < for Scheme > Edit Scheme.
When this shortcut is changed or removed, then the usual shortcuts to cycle through the open windows of an application will work as expected (i.e. Cmd + < cycle forward, Cmd + Shift + < cycle backward).
Xcode 4.6 Italian Keyboard
Cmd + Shift + `
This works for me:
Cmd + Shift + ´
Has anyone found a keyboard shortcut for the "Show All Files" in the Solution Explorer ?
And a related question ... is there any tool that can show the keyboard shortcut for any operation you're doing in VS ?
Cheers,
SteveC.
There is none by default. But:
Go to Tools / Options / Environment / Keyboard.
In 'Show commands containing", type:
showall
Scrolling in the list of commands reveals: Project.ShowAllFiles.
Select it and type the shortcut you want in the "Press shortcut keys" edit box. I used Ctrl + Shift + A.
If what you type as shortcut already has an associated command, you will see it in the bottom of this dialog.
In Visual Studio 2013, use alt + p + o.