vscode-leetcode: Solve LeetCode problems in VS Code
VS Code extension for solving LeetCode problems directly in the editor with testing and submission.
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.
Dual Endpoint Support
Supports both leetcode.com and leetcode.cn endpoints with separate authentication and session management for each platform.
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.
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"
}Top in Developer Tools
Related Repositories
Discover similar tools and frameworks used by developers
plotly.py
Interactive browser-based charts from Python with declarative API.
asdf
Unified CLI for managing multiple language runtime versions, replacing nvm, rbenv, pyenv with one tool.
nvm
Per-user Node.js version manager for switching between installed versions via command line on POSIX-compliant shells.
Biome
Unified toolchain providing fast formatting and linting for JavaScript, TypeScript, CSS, and JSON with CLI and LSP.
jsdom
Pure JavaScript implementation of web standards for Node.js.