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
Video Speed Controller
Chrome extension adding speed controls and keyboard shortcuts to HTML5 videos on any website.
MailHog
Captures development SMTP traffic with web and API interfaces.
Gson
Reflection-based Java library for JSON object conversion.
JSON for Modern C++
Header-only C++ library for JSON with STL-like containers.
Playwright
Cross-browser automation framework with built-in test runner.