mdspecSync Markdown files between your local workspace and the mdspec platform — manually, explicitly, and safely. No auto-sync. No background uploads. Nothing happens without you clicking a button. Features
Getting Started1. Open the sidebarClick the mdspec icon in the Activity Bar (left side of VS Code). 2. Log inOpen the Command Palette ( 3. Link your projectRun mdspec: Set Project from the Command Palette and enter your project in 4. Track filesThe sidebar lists all 5. Sync and pullClick the ↑ upload icon next to a tracked file to push it to mdspec. Click the ↓ download icon to pull the latest version down. The Sidebar
Local SpecsTracking filesCheck a file in the sidebar to track it. Uncheck to stop tracking. Only tracked files appear on mdspec. Syncing (uploading)Click the upload icon next to a tracked file.
Pulling (downloading)Click the download icon next to a tracked file to overwrite your local copy with the latest content from mdspec. Download is blocked if your local file has changed since the last sync. You will see: "Cannot download — you have local changes. Sync first or discard your changes." This prevents you from accidentally losing work. Remote OnlyThe Remote Only section lists specs that exist on your mdspec project but have no local file linked to them. This happens when a teammate creates a spec via the web app, or when you're setting up a machine for the first time. Click the 🔗 link icon next to any remote spec. You will be prompted for a local file path (pre-filled as The section is hidden when you are not logged in, and disappears automatically once all remote specs are linked locally. Change DetectionThe extension uses SHA-256 hashing, not timestamps. When you sync a file, a hash of the content is saved. On subsequent saves or refreshes, the current hash is compared with the saved one. If they differ, the file shows a ● in the sidebar.
ConfigurationThe extension stores its state in:
This file is created automatically. It contains your linked project, which files are tracked, the remote slug and spec ID for each file, and the last synced content hash. You can commit this file to your repository so your whole team shares the same tracked file mappings. Settings
Open Settings ( Commands
Syncing, pulling, and linking remote specs are done via the inline buttons in the sidebar. What This Extension Does Not Do
Troubleshooting"Not authenticated" error
Your session may have expired. Run File not showing in the sidebar
"Cannot download — you have local changes" Your local file has been modified since the last sync. Upload your changes first, or revert the file to its last synced state, then try pulling again. Sync failed with 409 Conflict A spec with the same slug already exists on mdspec. This can happen if two files generate the same slug. Rename the file or its first heading to produce a unique slug, then sync again. Remote Only section is not showing Make sure you are logged in. The section only appears after authentication. Click the refresh button to reload. |