-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple device sync for Custom Snippets #123880
Comments
(Experimental duplicate detection) |
/needsMoreInfo |
Hi @egamma Here is one example Snippet I created for React component snippets\typescriptreact.json {
"React Component": {
"prefix": "rc",
"body": [
"import './${1:$TM_FILENAME_BASE}.scss';\n",
"const ${1:$TM_FILENAME_BASE} = () => {",
" return (",
" <div className='${1:$TM_FILENAME_BASE}'>",
" $2",
" </div>",
" );",
"};\n",
"export default ${1:$TM_FILENAME_BASE};",
],
"description": "React Component with SCSS"
}
} Needs to sync these custom snippets across the devices with the Settings SYNC. |
Similar to #91011, which is for user tasked. |
Why its closed I added info in this comment |
@asphub User snippets are synchronized. May I know where does your snippets located? Are you using out of of the box settings sync? |
@sandy081 Pls see the path of snippets: C:\Users<username>\AppData\Roaming\Code\User\snippets\typescriptreact.json Also my settings sync is turned on, Pls see the screenshot. |
Thanks for info. We do sync user snippets. Can you please try following?
If any of the above steps are not happening, please share the settings sync log from machine 1 and machine 2 |
Thanks for the support @sandy081 Its working after waiting for some seconds |
Can we do a Multiple device sync for Custom Snippets like wise the Settings sync works.
This feature will be more easier to working different devices as a team and custom snippets for each Project Workspaces.
The text was updated successfully, but these errors were encountered: