{"id":703,"date":"2026-11-05T15:21:32","date_gmt":"2026-11-05T07:21:32","guid":{"rendered":"https:\/\/blog.jianguoyun.com\/en\/?p=703"},"modified":"2026-11-05T15:21:32","modified_gmt":"2026-11-05T07:21:32","slug":"how-to-sync-vs-code-workspace-files-across-devices-not-code","status":"publish","type":"post","link":"https:\/\/blog.jianguoyun.com\/en\/?p=703","title":{"rendered":"How to Sync VS Code Workspace Files Across Devices (Not Code)"},"content":{"rendered":"<p>Syncing VS Code workspace files across computers works best by putting only your <strong>non-code files<\/strong> \u2014 notes, docs, and reference material \u2014 into an ordinary folder that Nutstore syncs, while keeping source code in Git. Nutstore&rsquo;s right-click <strong>Arbitrary Folder Sync<\/strong> makes this practical because you can sync any folder on your computer without a command-line <code>mklink<\/code> setup. One condition matters: only files that are saved and successfully uploaded can be accessed from another supported device or the web, so unsaved or not-yet-uploaded edits won&rsquo;t appear elsewhere. Set it up this way, and your project notes travel with the project instead of staying tied to one machine.<\/p>\n<p>This guide covers how to sync VS Code workspace files across computers in eight steps, and it deliberately draws a line: this is a workflow for <strong>not code<\/strong> files. Source code belongs in Git.<\/p>\n<hr>\n<h2 id=\"what-youll-need-before-you-start\">What You&rsquo;ll Need Before You Start<\/h2>\n<p>To sync VS Code workspace files across devices, you need four things:<\/p>\n<ul>\n<li><strong>Two computers<\/strong>, or one computer plus a browser. Nutstore desktop clients cover <strong>Windows, macOS, and Linux<\/strong>, and a web app is also available.<\/li>\n<li><strong>A Nutstore account<\/strong> plus the desktop client installed on each computer you want to sync. Go to the Nutstore website, create an account, and download the client for your platform.<\/li>\n<li><strong>A clear split decided in advance.<\/strong> Which files are non-code (notes, meeting minutes, docs, reference PDFs, design briefs), and which are source code that stays in Git?<\/li>\n<li><strong>One condition you should accept up front:<\/strong> only files that are saved and successfully uploaded can be accessed from another supported device or the web. Unsaved or not-yet-uploaded edits will not appear elsewhere.<\/li>\n<\/ul>\n<p>One scope note: this article is about VS Code workspace <em>files<\/em>, not about versioning your codebase. Nutstore is <strong>not recommended for code sync<\/strong> and does not replace Git. The desktop client is what enables the right-click <strong>Arbitrary Folder Sync<\/strong> used later in this guide.<\/p>\n<hr>\n<h2 id=\"step-by-step-sync-vs-code-workspace-files-across-computers\">Step-by-Step: Sync VS Code Workspace Files Across Computers<\/h2>\n<p>Each step below starts with a verb and stands on its own, so you can follow them in order or jump to the one you need.<\/p>\n<h3 id=\"step-1-decide-what-belongs-in-sync-and-what-stays-in-git\">Step 1 \u2014 Decide What Belongs in Sync and What Stays in Git<\/h3>\n<p>Notes, docs, specs, and reference material go to file synchronization; source code goes to Git.<\/p>\n<p>Here is why. File synchronization works at the level of <strong>files and folders<\/strong>, keeping a folder&rsquo;s contents aligned across devices. Git works at the level of <strong>lines and commits<\/strong>, tracking how code changes over time. Nutstore is <strong>not recommended for code sync<\/strong> and is not a code version control tool \u2014 so the recommendation is to route only non-code files through sync. Note that file synchronization does not always transfer a complete file: eligible PC-client files may upload only the modified portion under the conditions described in Step 5.<\/p>\n<p><strong>File synchronization vs Git \u2014 who handles what<\/strong><\/p>\n<table>\n<thead>\n<tr>\n<th>Dimension<\/th>\n<th>File synchronization (Nutstore)<\/th>\n<th>Git (source control)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Unit it works on<\/td>\n<td>Files and folders<\/td>\n<td>Lines and commits<\/td>\n<\/tr>\n<tr>\n<td>History<\/td>\n<td>Version history, retention depends on plan<\/td>\n<td>Full commit history<\/td>\n<\/tr>\n<tr>\n<td>Conflict handling<\/td>\n<td>Conflict copies preserved, no automatic merge<\/td>\n<td>Merge workflow<\/td>\n<\/tr>\n<tr>\n<td>Best fit<\/td>\n<td>Non-code docs and notes<\/td>\n<td>Source code<\/td>\n<\/tr>\n<tr>\n<td>Recommendation<\/td>\n<td>\u2b50 Recommended for non-code workspace files<\/td>\n<td>\u2b50 Recommended for source code<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"step-2-create-a-dedicated-non-code-folder-inside-your-workspace\">Step 2 \u2014 Create a Dedicated Non-Code Folder Inside Your Workspace<\/h3>\n<p>Create one folder whose only job is to hold non-code material, and name it something obvious like <code>project-notes\/<\/code> or <code>docs\/<\/code>.<\/p>\n<p>Place it next to your repo rather than inside it, or inside the workspace but added to <code>.gitignore<\/code> if you prefer it visible in the VS Code Explorer. The benefit is simple: one obvious folder to sync, one obvious folder to keep aligned with Git. You can also keep notes in a separate location entirely \u2014 the folder choice is yours because Nutstore syncs an <strong>arbitrary folder<\/strong>, not a fixed directory.<\/p>\n<h3 id=\"step-3-install-and-sign-in-to-the-nutstore-desktop-client\">Step 3 \u2014 Install and Sign In to the Nutstore Desktop Client<\/h3>\n<p>Go to the Nutstore website, create an account, and download the client for your platform, then sign in on the first computer.<\/p>\n<p>Two-factor authentication is available if you want extra hardening \u2014 <strong>Google Authenticator, WeChat, email verification code<\/strong>, and <strong>SMS on Advanced Team and above<\/strong>. This step is short on purpose; the interesting part comes next.<\/p>\n<h3 id=\"step-4-right-click-the-folder-and-turn-on-arbitrary-folder-sync\">Step 4 \u2014 Right-Click the Folder and Turn On Arbitrary Folder Sync<\/h3>\n<p>This is the core Nutstore step. <strong>Arbitrary Folder Sync<\/strong> means exactly what it sounds like: you right-click a chosen folder on your computer and sync it.<\/p>\n<p>There is no <code>mklink<\/code> command line, no symlink step, and no need to move the folder into a designated Nutstore sync directory. <strong>Arbitrary Folder Sync lets you sync a chosen folder in place<\/strong> \u2014 without relocating it or setting up a symlink.<\/p>\n<p><strong>How to turn it on:<\/strong><\/p>\n<ol>\n<li>Open the folder in File Explorer (Windows) or Finder (macOS) \u2014 or your file manager on Linux.<\/li>\n<li>Right-click the folder you want to sync.<\/li>\n<li>Choose the sync option and select the destination in Nutstore.<\/li>\n<li>Confirm, and let the first upload complete.<\/li>\n<\/ol>\n<p>To state the contrast narrowly and factually: <strong>Arbitrary Folder Sync<\/strong> lets you sync a chosen folder <strong>without a <code>mklink<\/code> command<\/strong> \u2014 it removes that step rather than depending on it. This feature syncs a chosen folder; it is not a file-filtering tool inside an already-synced folder.<\/p>\n<h3 id=\"step-5-save-and-upload-your-files-before-you-switch-machines\">Step 5 \u2014 Save and Upload Your Files Before You Switch Machines<\/h3>\n<p>A file becomes available on another device only after it has been saved and successfully uploaded.<\/p>\n<p>That sentence is the whole rule, so restate it plainly: an edit that was never saved, or saved but not yet uploaded, will not be on the other device. The way to be sure is to save your work and let the upload complete before you move to the second machine.<\/p>\n<p>One documented behavior worth knowing is <strong>Delta Sync<\/strong>. On the <strong>PC client only<\/strong>, an eligible file may upload only the modified portion rather than the whole file when the conditions are met: the original file is over <code>64 KB<\/code>, the changed portion is under <code>70%<\/code> of the original, and the changed portion is under <code>10 MB<\/code>. Compressed files (<code>zip<\/code>\/<code>rar<\/code>), images (<code>jpg<\/code>\/<code>png<\/code>), and videos do not support delta sync, and mobile does not use it. Eligibility depends on those stated conditions \u2014 small document edits do not automatically qualify.<\/p>\n<p>If a colleague needs the same project documentation, you can invite them into the same folder instead of emailing copies, so everyone reads one source of truth rather than a stale attachment.<\/p>\n<h3 id=\"step-6-access-the-files-on-your-second-computer\">Step 6 \u2014 Access the Files on Your Second Computer<\/h3>\n<p>There are two paths, and both are straightforward.<\/p>\n<ul>\n<li><strong>Desktop client on the second machine:<\/strong> sign in with the same account and let the synced folder come down, then open the folder in VS Code as part of the workspace.<\/li>\n<li><strong>Web app:<\/strong> open the browser and reach the files without installing anything.<\/li>\n<\/ul>\n<p>Mobile apps for <strong>iOS and Android<\/strong> work as a read-on-the-go option, which suits notes and docs well. To repeat the boundary once more: this works for successfully synced files \u2014 it is not a live view of your other machine&rsquo;s unsaved buffer.<\/p>\n<h3 id=\"step-7-keep-code-in-git\">Step 7 \u2014 Keep Code in Git<\/h3>\n<p>Use <code>git push<\/code> and <code>git pull<\/code> for source code, and VS Code&rsquo;s own Settings Sync for editor settings and keybindings.<\/p>\n<p>That division of labor is what keeps your code under proper version control: Git for code, Nutstore for the non-code files that travel with the project. Nutstore is not a Git replacement, and Git is not a Nutstore competitor \u2014 they solve different problems and are meant to be used side by side.<\/p>\n<h3 id=\"step-8-handle-conflicts-the-right-way\">Step 8 \u2014 Handle Conflicts the Right Way<\/h3>\n<p>When the same file changes on two machines, Nutstore&rsquo;s <strong>Smart Conflict Resolution<\/strong> preserves a conflict copy rather than silently overwriting your work.<\/p>\n<p>The limit deserves an honest sentence: preserving a conflict copy is <strong>not automatic content merging<\/strong> and <strong>not a guarantee of zero data loss<\/strong>. Sync does not replace an independent backup.<\/p>\n<p>Two practical tips. For personal notes, avoid editing the same file on two machines at once. For shared team folders, <strong>File Locking<\/strong> shows a yellow lock icon when someone is editing, giving others read-only access \u2014 a useful signal to wait rather than create a conflict.<\/p>\n<hr>\n<h2 id=\"troubleshooting-common-sync-problems\">Troubleshooting Common Sync Problems<\/h2>\n<h3 id=\"issue-1-my-file-isnt-showing-up-on-the-other-computer\">Issue 1 \u2014 &ldquo;My file isn&rsquo;t showing up on the other computer.&rdquo;<\/h3>\n<p><strong>Most common cause:<\/strong> the file was never saved, or it was saved but not yet uploaded.<\/p>\n<p><strong>Fix:<\/strong> save the file, let the upload finish, then check the second device or the web app again.<\/p>\n<h3 id=\"issue-2-i-see-a-second-copy-of-my-file-with-a-conflict-style-name\">Issue 2 \u2014 &ldquo;I see a second copy of my file with a conflict-style name.&rdquo;<\/h3>\n<p><strong>Cause:<\/strong> the same file was edited on two machines before syncing completed.<\/p>\n<p><strong>Fix:<\/strong> open both copies, merge the content you want into one file, delete the extra copy, and let it sync. This is expected behavior \u2014 conflict copies are preserved deliberately, not an error. There is no automatic merging, and sync is not a backup.<\/p>\n<h3 id=\"issue-3-my-whole-project-folder-is-syncing-and-i-dont-want-my-code-in-there\">Issue 3 \u2014 &ldquo;My whole project folder is syncing and I don&rsquo;t want my code in there.&rdquo;<\/h3>\n<p><strong>Cause:<\/strong> the repo or project folder was chosen for <strong>Arbitrary Folder Sync<\/strong> instead of a dedicated notes or docs folder.<\/p>\n<p><strong>Fix:<\/strong> stop syncing that folder, return to Step 1, and sync only the dedicated non-code folder. Nutstore is <strong>not recommended for code sync<\/strong>, so the non-code folder plus Git is the cleaner setup.<\/p>\n<hr>\n<h2 id=\"frequently-asked-questions\">Frequently Asked Questions<\/h2>\n<p><strong>Can Nutstore sync my VS Code workspace files across computers?<\/strong><br \/>\nYes, for non-code files placed in a folder you choose to sync with <strong>Arbitrary Folder Sync<\/strong> \u2014 and only once those files are saved and successfully uploaded. Code is better kept in Git.<\/p>\n<p><strong>Can I sync my entire project folder with Nutstore?<\/strong><br \/>\nA project folder can be chosen for folder sync, but Nutstore is <strong>not recommended for syncing code<\/strong>, and it is not a code version control tool. The recommended setup is to sync only your non-code files and keep the repository in Git.<\/p>\n<p><strong>Does Nutstore replace Git for my code?<\/strong><br \/>\nNo. They work at different levels: file synchronization keeps a folder&rsquo;s contents aligned across devices, while Git tracks code line by line through commits. They handle different jobs and are meant to be used together.<\/p>\n<p><strong>Will my unsaved edits appear on my other machine?<\/strong><br \/>\nNo. Edits that were never saved, or saved but not yet uploaded, are not available through cloud sync.<\/p>\n<p><strong>What happens if I edit the same note on two computers?<\/strong><br \/>\nNutstore preserves a conflict copy instead of overwriting. You merge the content yourself \u2014 this is not automatic merging and not a guarantee against data loss.<\/p>\n<p><strong>Which devices can read the synced files?<\/strong><br \/>\nAnother supported device with the desktop client (<strong>Windows, macOS, Linux<\/strong>), the web app, or the mobile apps (<strong>iOS, Android<\/strong>), for files that have successfully synced.<\/p>\n<hr>\n<h2 id=\"summary-one-folder-for-notes-git-for-code\">Summary: One Folder for Notes, Git for Code<\/h2>\n<p>The rule in one line: put non-code workspace files in an ordinary folder, sync that folder with Nutstore&rsquo;s right-click <strong>Arbitrary Folder Sync<\/strong>, and keep code in Git.<\/p>\n<p>Two conditions apply. Only saved and successfully uploaded files are reachable from another device or the web. Conflict copies are preserved but not auto-merged, and sync does not replace an independent backup.<\/p>\n<p>Read the scope as a recommendation, not a restriction: Nutstore is <strong>not recommended for code sync<\/strong> \u2014 sync the notes and docs, and let Git handle the source.<\/p>\n<h2 id=\"try-nutstore-today\">Try Nutstore Today<\/h2>\n<p>If your project notes and documentation are shared with teammates, the <strong>Nutstore Team plan with a 20-day free trial<\/strong> puts that documentation in one folder and one source of truth, with no emailing copies: <a href=\"https:\/\/www.jianguoyun.com\/s\/campaign\/cpclanding\/team?sch=AIcb\">start the Team plan trial<\/a>.<\/p>\n<p>Working solo? <a href=\"https:\/\/www.jianguoyun.com\/s\/campaign\/cpclanding\/main?sch=AIcb\">Get started with Nutstore<\/a> and sync your own workspace files across your machines.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to sync VS Code notes, documentation, and other non-code files across devices with Nutstore\u2019s Arbitrary Folder Sync. This step-by-step guide explains how to choose a dedicated folder, ensure files are saved and uploaded before switching computers, handle conflicts, and keep source code in Git. Nutstore sync does not replace version control or an independent backup.<\/p>\n","protected":false},"author":1,"featured_media":702,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[94,74],"tags":[49,13,45,12,296,295],"_links":{"self":[{"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/posts\/703"}],"collection":[{"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=703"}],"version-history":[{"count":0,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/posts\/703\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=\/wp\/v2\/media\/702"}],"wp:attachment":[{"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jianguoyun.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}