Skip to content

Clicking the refresh button do NOT refresh problem list #367

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

Open
twchn opened this issue Jul 16, 2019 · 3 comments
Open

Clicking the refresh button do NOT refresh problem list #367

twchn opened this issue Jul 16, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@twchn
Copy link

twchn commented Jul 16, 2019

🐛 Bug Report

When I solved a problem in other places or when new problems have arrived, clicking the refresh button could not show the right status of the problem(the problem I solved in other places is still in an unresolved state in the explorer) or get the new problems. After I delete the problems.json in the cache directory manually, the behavoir of this extension is in line with expectations.

To Reproduce

  1. solve a problem in other places.
  2. click the refresh button.

Expected behavior

The status of all problems should be right and the list of all problems should be complete.

@jdneo
Copy link
Member

jdneo commented Jul 16, 2019

This a limitation of the LeetCode CLI. Maybe we should clear the cache each time we refresh the explorer.

@remixknighx
Copy link

How to clear the local leetcode cache?

@fxrcode
Copy link

fxrcode commented Jan 10, 2021

How to clear the local leetcode cache?

Follow #516 (comment), to rm problems.json and click vscode-leetcode refresh button in vscode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants