Navigate:
VS Code LeetCode
~$VSCO0.1%

vscode-leetcode: Solve LeetCode problems in VS Code

VS Code extension for solving LeetCode problems directly in the editor with testing and submission.

LIVE RANKINGS • 03:34 PM • STEADY
OVERALL
#390
28
DEVELOPER TOOLS
#83
9
30 DAY RANKING TREND
ovr#390
·Devel#83
STARS
8.5K
FORKS
693
7D STARS
+4
7D FORKS
+1
See Repo:
Share:

Learn more about VS Code LeetCode

vscode-leetcode is a VS Code extension that provides a complete LeetCode integration within the editor environment. The extension connects to LeetCode endpoints (leetcode.com and leetcode.cn) through authentication mechanisms including third-party login and cookie-based sessions. It creates a dedicated explorer panel for browsing problems, generates solution templates in multiple programming languages, and provides code lens shortcuts for testing and submission. The extension stores problem files locally in a configurable workspace folder and supports features like problem search, session management, and solution previewing.

VS Code LeetCode

1

Dual Endpoint Support

Supports both leetcode.com and leetcode.cn endpoints with separate authentication and session management for each platform.

2

Integrated Code Lens

Provides editor shortcuts directly in the code for submitting solutions, running tests, viewing descriptions, and accessing top-voted solutions without context switching.

3

Multi-Language Templates

Generates problem templates in 15+ programming languages including Python, Java, C++, JavaScript, and others with configurable default language selection.


{
  "leetcode.workspaceFolder": "$HOME/.leetcode/",
  "leetcode.showCommentDescription": true,
  "leetcode.nodePath": "/usr/local/bin/node"
}


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers