Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode - Importing keyboard shortcuts

I'm using VSCode on Windows and Ubuntu and I'd like to have the same keyboard shortcuts in both environment (saving my brain memory space for more useful stuff than hotkeys!). Is there a way to export the keyboard shortcut settings in one environment and import them in the other? Or any other way to uniformize them?

For example, auto-indent on Ubuntu is CTRL+SHIFT+I, whereas on Windows, it's ALT+SHIFT + F. I'd like to have the same for both.

like image 724
DSav Avatar asked Aug 23 '17 13:08

DSav


1 Answers

you can use this extension Settings Sync this will sync extensions and complete User Folder that Contains

  1. Settings File
  2. Keybinding File
  3. Launch File
  4. Snippets Folder
  5. VSCode Extensions & Extensions Configurations
  6. Workspaces Folder

it will save all setting on Github gits then you will be able on other platforms to download that setting this will keep to vscode sync it looks like visual studio kind sync but so far the configuration for the first time need little of work but it's not a big deal at totally helpful extensions

extension features 🔥🔥

  1. Use your GitHub account token and Gist.
  2. Easy to Upload and Download on one click.
  3. Show a summary page at the end with details about config and extensions effected.
  4. Auto download Latest Settings on Startup. 🌟
  5. Auto upload Settings on file change. 🌟
  6. Share the Gist with other users and let them download your settings. 🌟
  7. Supports GitHub Enterprise
  8. Support pragmas with @sync keywords: host, os, and env are supported.
  9. GUI for changing settings / logging in
  10. Allows you to Sync any file across your machines.

Upload Your Settings

Press Shift + Alt + U (macOS: Shift + Option + U)

Type ">Sync" In Command Palette into order download / upload

When downloading or uploading for the first time, the welcome page will automatically open, where you can configure the Settings Sync.

Once you select to upload, after uploading the settings. You will see the Summary details with the list of each file and extensions uploaded.

Download your Settings

Press Shift + Alt + D (macOS: Shift + Option + D)

Type ">Sync" In Command Palette into order download / upload

When downloading or uploading for the first time, the welcome page will automatically open, where you can configure the Settings Sync.

Once you select download, after downloading. Settings Sync will display your Summary containing the list of each file and extension being downloaded.

A new popup will be opened to allow you to restart the code to apply the settings.

Reset Extension Settings

Select "> Sync : Reset Extension Settings" in the Command Palette to reset your settings

🚀🚀

so far this feature has been discussed on GitHub and a lot of people recommend Settings Sync extension, maybe in feature versions will has settings sync build in, you can check this open issue [Ideas] - Settings Sync Roadmap and this Provide support to synchronize settings across machines.

like image 127
Muhammed Albarmavi Avatar answered Nov 24 '22 08:11

Muhammed Albarmavi