

After some testing, I figured I needed the following sizes: Their screen resolutions were different too. I changed fontSize because I have a 15’ Mac and a 13’ Windows. I only changed the fontSize of the code editor and the integrated terminal between my Windows and Mac. Thankfully, most of my preferences can be shared between Windows and Mac. Separating preferences for Windows and Mac To sync extensions and preferences across my Mac and Windows computer, all I had to do is install the settings sync extension, log in with Github, and, select a Gist to sync to. It’s easy to sync preferences and extensions. I also found out it synced key bindings later! (More on key bindings later because it’s more nuanced). It lets you sync preferences and extensions. Settings Sync is an extension for Visual Studio Code. Syncing key bindings across Mac and Windows.Syncing extensions across Mac and Windows.Syncing preferences across Mac and Windows.Next, I had to do was to make Visual Studio Code on both Mac and Windows play nice. Then, I set up my Windows development environment (with Windows Subsystem for Linux) on my new Windows computer. I also mirrored Mac’s modifiers as much as possible. When I got my Windows computer, the first thing I did was to set up Windows so it mirrors the writing system I had on Mac. When getting the hang of a new IDE, I tend to want a cheat sheet sitting on my desk that I can quickly refer to when I need to know how to toggle full screen or something simple.Syncing Visual Studio Code settings between Mac and Windows 13th May 2020 Thank you, Bonus: Printable VS Code Keyboard Shortcut Cheat Sheet 👍 VS Code Keybinding to Toggle Focus Between and Editor and Terminal Well friend, I’ve finally found out how to do just that.įirst, open your keybindings.json file Alt+k Alt+s, then you can add the following two entries to be able to toggle the focus between an editor and opened terminal (and have it remain open). What if you want to either 1) open a terminal if it isn’t already, or 2) toggle between the editor and an already-opened terminal with a command. If you’re like me, you want to leave the terminal open all (or most) of the time, and would rather not have it open and close just to change focus. So toggling between the editor where you are writing your code, and the terminal where you are executing commands, etc, consists of closing and reopening the terminal in order to change focus. If you are using VS Code, you probably already know that you can open and close the integrated terminal with the default keyboard shortcut of Ctrl + ` or ^ + ` (Mac).īy default, the focus changes, or toggles, between the editor and a terminal when opening/closing the terminal with the shortcut listed above.
