fontSize
of the code editor and the integrated terminal between my Windows and Mac.fontSize
because I have a 15’ Mac and a 13’ Windows. Their screen resolutions were different too. After some testing, I figured I needed the following sizes:18px
16px
16px
14px
os
) to preserve preferences between Mac and Windows. Here’s what I wrote for Mac:os=windows
got commented out on my Mac’s preferences (the settings.json
file).os=mac
got commented out on my Windows’ settings.json
file.keyBindings.json
to store Windows shortcuts. For Mac, it uses a file called keybindingsMac.json
.Task | Windows Shortcut | macOS Shortcut |
---|---|---|
Copy | Ctrl + C | ⌘ + C |
Paste | Ctrl + V | ⌘ + V |
Cut | Ctrl + X | ⌘ + X |
Undo | Ctrl + Z | ⌘ + Z |
Redo | Ctrl + Shift + Z | ⌘ + Shift + Z |
Delete right of cursor | Delete | fn + Backspace |
Delete word | Ctrl + Delete | fn + ⌥ + Backspace |
Task | Visual Studio (Windows) | Visual Studio for Mac |
---|---|---|
Preferences (Options) | Tools > Options... | Visual Studio > Preferences... |
Extensions | Extensions > Manage Extensions | Visual Studio > Extensions... |
Layouts | Window > Apply Window Layout > [Select layout] | View > Layout > [Select layout] |
Updates | Help > Check for Updates | Visual Studio > Check for Updates... |
NuGet Package Manager | Tools > NuGet Package Manager > Manage NuGet Packages or Solution... | Project > Manage NuGet Packages... |
Find tools | Edit > Find and Replace > [Select tool] | Search > [Select tool] |
About Visual Studio | Help > About Microsoft Visual Studio | Visual Studio > About Visual Studio |