vscode-leetcode icon indicating copy to clipboard operation
vscode-leetcode copied to clipboard

How to "Reset to default code definition" or restore button

Open wangp-blog opened this issue 2 years ago • 3 comments

🚀 Feature Proposal

official website feature: image image

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

wangp-blog avatar May 09 '22 09:05 wangp-blog

Feature request +1, This function is helpful for revising problems.

@GitHubQAQ Did you find any related info about this feature request?

luoxufeiyan avatar Jun 29 '22 03:06 luoxufeiyan

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>

wangp-blog avatar Jul 02 '22 14:07 wangp-blog

Feature request +1, This function is helpful for revising problems.

jackluson avatar Jul 15 '22 09:07 jackluson