Skip to content

Leetcode extension does not upload solution to leetcode account #543

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

Closed
justinzw opened this issue Apr 19, 2020 · 5 comments
Closed

Leetcode extension does not upload solution to leetcode account #543

justinzw opened this issue Apr 19, 2020 · 5 comments

Comments

@justinzw
Copy link

This probably is a known issue, but when I submit my solution it does not upload it to my leetcode account.

@jdneo
Copy link
Member

jdneo commented Apr 20, 2020

@justinzw I cannot repro this, please share a detailed repro steps of this issue

@jdneo jdneo added the need more info Further information is requested label Apr 20, 2020
@justinzw
Copy link
Author

Thanks for your reply. When I submit the code using the extension in visual studio code (even when it succeeds) the solution does not get uploaded to leetcode.com

When I go to leetcode.com to the same problem I don't see my solution. Also when I submit the code on leetcode.com I don't see it in VSCode even when I log in.

I think they aren't syncing.

@no-response no-response bot removed the need more info Further information is requested label Apr 20, 2020
@jdneo
Copy link
Member

jdneo commented Apr 20, 2020

Still cannot repro.

image

This is what I just tried for the problem two-sum in leetcode.com

When I go to leetcode.com to the same problem I don't see my solution.

Suppose the solution you mean is the submission, please make sure the account you are using is the same

Also when I submit the code on leetcode.com I don't see it in VSCode even when I log in.

The extension will show the pass/fail result. So far there is no such feature to show the submit history in the extension

@justinzw
Copy link
Author

Thank you. I guess I wasn't looking right and now I see that it works.

Quick question: When I submit code through the VScode extension it doesn't "save" it in the leetcode website. When I open leetcode.com the solution is still the default empty one.

Is that the expected result?

@jdneo
Copy link
Member

jdneo commented Apr 27, 2020

@justinzw You should see the solution in the submission history. You cannot see it in the editing area since it is cached in the browser I guess. Solving problem in VS Code won't affect the browser cache.

@jdneo jdneo closed this as completed Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants