Navigate Between Projects in Xcode 7 - xcode

What keyboard shortcut can be used to navigate between open projects in Xcode 7?
Have seen these suggestions ([1], [2], [3]) for prior releases of Xcode, none seem to work in v7:
Cmd + `
Cmd + Shift + `
Cmd + Ctrl + ↑/↓.

Per the comments the answer here is to use Cmd + ` when Xcode is not maximized, otherwise you can use 3 finger drag.
Thanks to #AaronBrager and #Bamsworld.

System Preferences->Keyboard->Shortcuts->Keyboard->√ Move focus to next window.
then, use Cmd + `

Related

how to shift code up or down with the up and down arrow keys on vs code mac?

On linux, i press alt + up or down to shift code up or down on vs code.
how do i do the same on mac?
it's a command Move Line Up/Down.
open show all command with shift+cmd+p
type Preferences: Open keyboard shortcuts
search move line
look what keybinding you have (mine was option + up/down)

VSCode - Open new terminal window in vsc

Is there any way to open a new terminal window within vscode and run code in it?
Click on "+" button marked with red color
You can also go to the View menu and select Terminal. It will open a terminal window under your editor window.
Or you can use the command " Ctrl + ` " and it will open a new terminal.

command + backtick (`) not working in XCode 9

command + `
doesn't switch between active documents(projects) in XCode 9.0. I have the
System Preferences -> Keyboard -> Shortcuts -> Keyboard -> Move focus to next window shortcut set to command + `
Any ideas on why it doesn't work?

Indent/format code in Visual Studio code on MAC

i'm trying to indent my code in visual studio code. I searched and i found that ctrl + F + K should be work, but it doesn't. I tried cmd + k + f too, but it still not working. I hope you can help me!
The shortcut is: Alt + Shift + F
Updated December 21, 2017: as pointed out by Fabio, on mac it should be: ⌘ + ]
On Windows: indent control is ctrl + ]
A good way to find commands is by navigating to:
Code -> Preferences -> Keyboard Shortcuts
Also, the Visual Studio Code team provided those handy shortcut pdfs:
MacOS
Windows
Linux
Another helpful command to achieve this might be: shift + option + f which is auto format.
The shortcut to format code on Visual Studio for Mac Community Edition is Ctrl + i
(edited on 4th Jan 2023: the answer below still remains the same, in version 1.74.2, Nov 2022)
For visual studio code version 1.36.1 (2019)
To auto-format the selection, use ⌘K ⌘F (the trick is that this is to be done in sequence, ⌘K first, followed by ⌘F).
To just indent (shift right) without auto-formatting, i.e., blindly indent, use ⌘]
As indicated in Visual Studio Code's Keyboard Shortcuts (⌘K ⌘S, or from the menu as shown below)
The shortcut to align code in MAC is : Option/ALT + Shift + F.
Visual Studio for Mac Community Edition v 7.5.4 code format is: ^ I
The shortcut is:
Option Shift F
Mac 16 M1 Pro
cmd + k + f working for me
On Visual Studio for Mac Version 8.7
Select the code and go Edit -> Format -> Format Document
cmd + A + cmd + K + cmd + F
this worked for me.
All I do is to hold "cmd" and then press A, K, and F one by one.
Only Ctrl + I for me worked.
Everything else hasn't worked.
Fix Formatting in Visual Studio for MAC 2019: Control + I
Source here

Searching for file with a name in IntelliJ IDEA community edition 14 on Mac

So I have used Intellij Idea on Ubuntu before and the shortcut for "searching a file with a name in the project directory" used to be
Ctrl + Shift + n
I have tried
command + Shift + n
control + Shift + n
but if just opens a "New scratch" dialog. Does anyone know whats the correct shortcut in the Mac?
The shortcut on OS X is ⌘+Shift+O (at least in the OS X 10.5+ keymap, which should be default).
Or you can use more universal shortcut Shift+Shift (Search everywhere action) which is the same on Windows/OS X/Linux and searches through classes, symbols, files, etc.
Here is also a convenient list of important IntelliJ shortcuts on OS X.
If by some reason the default keymap is changed, there are several ways to see the actual shortcut:
open "Main Menu > Navigate" and see what is the shortcut in frong of "File ..." sub menu;
open "Help > Find Action" and type "navigate file", the shortcut will be displayed in front of the action;
open "File > Settings > Keymap" and search for "navigate file" action, again the shortcut will be displayed in front of the action.

Resources