Skip to content

LeetCode-OpenSource/vscode-leetcode

Repository files navigation

LeetCode

Solve LeetCode problems in VS Code.

English

Requirements

  • Node.js

    NOTE: Please make sure that Node is in your PATH environment variable. You can check this by running: node -v.

Features

  • Sign in/out to LeetCode
  • Switch and create session
  • Show problems in explorer
  • Search problems by keywords
  • Submit solutions to LeetCode

Sign In and Sign Out

SignInOut

Switch and Create Session

SwitchSession

Show Problems in Explorer

ShowProblem

Search Problems by Keywords

SearchProblem

Submit Solutions to LeetCode

SubmitSolution

Known Issues:

  • This extension will infer the current target problem according to the active editing file. Please do not change the file name.

Release Notes

Refer to CHANGELOG

Acknowledgement

This extension is based on @skygragon's leetcode-cli open source project.

中文

运行条件

  • Node.js

    注意: 请确保NodePATH环境变量中,您可以通过执行:node -v进行查看。

功能

  • 登陆 / 登出 LeetCode
  • 切换及创建 session
  • 在 Explorer 中展示题目
  • 根据关键字搜索题目
  • 向 LeetCode 提交答案

登陆及登出

SignInOut

切换及创建 session

SwitchSession

在 Explorer 中展示题目

ShowProblem

根据关键字搜索题目

SearchProblem

向 LeetCode 提交答案

SubmitSolution

已知问题

  • 本插件会根据文件名称推测当前的目标题目,因此建议不要改变文件名。

更新日志

请参考更新日志

鸣谢

本插件基于@skygragonleetcode-cli开源项目制作。