Skip to content

Troubleshooting

Sheng Chen edited this page Apr 18, 2019 · 4 revisions

This document provides the information needed to troubleshoot common errors of LeetCode for VS Code extension.

🤔 The LeetCode Explorer Icon Is Not Showing

The LeetCode Explorer is located in the customized activity bar, which is supported in VS Code 1.31.1+.

🤔 Got Error: command 'leetcode.xxx' not found

This means the extension is failed to start up. Mostly this is because the requirement is not satisfied. For example, the installed Node.js version is lower than 8.

🤔 Cannot Sign in

There are multiple factors causing the user not able to sign in the extension:

  1. You may use the wrong endpoint. Please Try to switch to the correct endpoint that you want to use.

    Note: The accounts of different LeetCode endpoints are not shared.

  2. If you are behind the proxy, please update the VS Code setting: http.proxy.

    You can trigger the command Preferences: Open User Settings to open the setting page.

🤔 Got HTTP error [code=404] When Submitting the Answer

Users cannot submit code until they have the email or phone verified in LeetCode.

🤔 Cannot show the locked problems

The extension will hide the locked problems by default. You can enable the setting leetcode.showLocked to see them.