Skip to content
Shan Khan edited this page Feb 5, 2019 · 7 revisions

You want to sync additionally VS Code related files.
For example: linters configuration files like .eslintrc, .htmlhintrc etc.
Those files can be installed in VS Code and can be uploaded to gist through this extension.

Add Custom Sync File path

  1. Type >Sync : Advanced Options > >Sync : Add Custom Sync File path into the command palette.
  2. Type custom sync file absolute path. ex. /Users/tkrtmy/.eslintrc

The Custom Sync File path will be saved to syncLocalSettings.json.

add-custom-sync-file-path

After registration, custom files are synced gist when execute >Sync: Update / Upload Settings and > Sync: Download Settings.

If you'd like to download & sync custom file in also other machine, you should decide custom file location on each machine and specify absolute path put on this option.

Import Custom Sync File to workspace

  1. Type >Sync : Advanced Options > >Sync : Import Custom Sync File to workspace
  2. Select the file you want to download from gist to the root of the workspace you are working on.

import-custom-file-to-workspace

Upload/Download custom file with extensions and files inside User Folder.

After Add Custom Sync File path procedure, You can upload to gist / can download files from gist to other machine.
At gist, custom file has prefix for identifying. (ex. .eslint => |customized_sync|.eslint)