VS Code Troubleshooting - usaybia/usaybia-data GitHub Wiki

If some features (like snippets or tagging) aren't working correctly for you in VS Code, try the following.

Open the entire usaybia-data folder

Some of the settings you'll need are saved as a VS Code "workspace" in the usaybia-data folder on your computer where GitHub synchronizes. Go to File > Open ..., then select the usaybia-data folder and click Open.

Update your GitHub branch

Workspace settings are synchronized using GitHub. In the GitHub desktop app, make sure you're in the correct branch of usaybia-data, then click on Fetch Origin and (if necessary) Pull. Then try VS Code again.

Update VS Code

Check whether you have the latest version of VS Code. On Mac, go to Code > Check for updates ... or on Windows go to Help > Check for updates ...

Move VS Code out of the Downloads folder (Mac OS Sierra +)

If you are running VS Code in the Downloads folder on Mac OS, you may not be able to update. Move the program to the Applications (Programme) folder, then try updating.

Clear Editor History

If snippets aren't working or aren't showing the latest changes, press Cmd-Shift-P (Mac) or Ctrl-Shift-P (Windows), then type "Clear Editor History" and click on it. Then close and reopen VS Code and try again.

Disable extensions

The problem might be with a specific extension. Press Cmd-Shift-P (Mac) or Ctrl-Shift-P (Windows), then type "disable" and click on "Developer: Reload with Extensions Disabled." If this fixes the problem, try enabling the extensions one-by-one to find out which extension is causing the problem. You can then try updating or uninstalling and reinstalling the problem extension.

Uninstall and reinstall VS Code

If VS Code still isn't working (especially if it gives an error message about being corrupted), try completely uninstalling and reinstalling VS Code.