Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Code Snippets and Daily Challenge Selection Features#982

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
XzZZzX02 wants to merge5 commits intoLeetCode-OpenSource:master
base:master
Choose a base branch
Loading
fromXzZZzX02:modification

Conversation

XzZZzX02
Copy link

This pull request introduces two features to the VSCode extension: code snippets and pick daily challenges. The most important changes include adding a new command for picking the daily challenge, modifying the existing configuration to support custom code snippets.

New Feature: Pick Daily Challenge

  • Added a new commandleetcode.pickDaily to pick the daily challenge. (package.json,src/commands/show.ts,src/extension.ts)[1][2][3][4]
  • Implemented thequeryDailyChallenge function to fetch the daily challenge ID from the LeetCode API. (src/request/query-daily-challange.ts)

New Feature: Code Snippets

  • Updated theLeetCodeExecutor class to insert custom code snippets into the problem template if provided. (src/leetCodeExecutor.ts)

Configuration Improvements

  • Added a new configuration optionleetcode.codeSnippets for custom code snippets. (package.json)

These changes enhance the functionality of the LeetCode extension by allowing users to easily access the daily challenge and customize their coding experience with custom snippets.

@XzZZzX02XzZZzX02 changed the titleModificationAdd Code Snippets and Daily Challenge Selection FeaturesNov 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@XzZZzX02

[8]ページ先頭

©2009-2025 Movatter.jp