Code Monkey home page Code Monkey logo

vscode-leetcode's Introduction

LeetCode

Travis CI Marketplace Version

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

Commands

This extension provides several commands in the Command Palette (F1 or Ctrl + Shift + P):

  • LeetCode: Sign in - Sign in to LeetCode
  • LeetCode: Sign out - Sign out to LeetCode
  • LeetCode: Select session - Select one session and make it active
  • LeetCode: Create new session - Create a new session
  • LeetCode: Refresh - Refresh the LeetCode Explorer
  • LeetCode: Search Problem - Search for problems by keywords
  • LeetCode: Submit - Submit the solution 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.
  • Currently, only unlocked problems will be listed.

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 提交答案

命令

该插件在命令面板(F1 或 Ctrl + Shift + P)中支持下列命令:

  • LeetCode: Sign in - 登入 LeetCode
  • LeetCode: Sign out - 登出 LeetCode
  • LeetCode: Select session - 激活一个已有的答题进度存档
  • LeetCode: Create new session - 创建一个新的答题进度存档
  • LeetCode: Refresh - 刷新左侧题目列表视图
  • LeetCode: Search Problem - 根据关键字搜索题目
  • LeetCode: Submit - 提交答案到 LeetCode

登入及登出

SignInOut

切换及创建 session

SwitchSession

在 Explorer 中展示题目

ShowProblem

根据关键字搜索题目

SearchProblem

向 LeetCode 提交答案

SubmitSolution

已知问题

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

更新日志

请参考更新日志

鸣谢

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

vscode-leetcode's People

Contributors

jdneo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.