vscode-leetcode
vscode-leetcode copied to clipboard
How to "Reset to default code definition" or restore button
🚀 Feature Proposal
official website feature:
Motivation
- Sometimes it is necessary to re-enter the code, this function can provide a quick reset
- When I deleted the code template by mistake, I found that I couldn't get the Submit and Test buttons
Contribution
Feature request +1, This function is helpful for revising problems.
@GitHubQAQ Did you find any related info about this feature request?
I saw this button on the official website of leetcode and when I use F12, the element can be positioned correctly. But unfortunately, I can't understand how this button works due to my lack of js level, hope this can help you. My simple idea is that the official website provides such a function, so can vscode-leetcode provide such a button? Link to the official website: https://leetcode.com/problems/two-sum/ In order to help faster positioning, you can search for the following related codes in the element, it is recommended to use Reset to default code definition
><div class="ant-tooltip-inner" role="tooltip">Reset to default code definition</div>
Feature request +1, This function is helpful for revising problems.