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.
Related Reading
Guides and comparisons from the Greptile content library
What Is Code Review? (And How to Keep It From Becoming the Bottleneck)
What code review is, how traditional, automated, and AI code review differ, and why review is now the bottleneck as AI writes more code. Plus how to pick a code review tool that catches real bugs.
Greptile Ranks #1 on Martian's AI Code Review Benchmark
Greptile ranks #1 on Martian's independent online AI code review benchmark, leading all evaluated tools in F1 score and precision with near-leading recall.
What is a pull request & why is it important for code reviews?
Pull requests protect your codebase, but traditional PR workflows are becoming the bottleneck as AI writes more code. Learn what pull requests are, how to create one, and how to automate PR review so velocity and trust scale together.
Best AI Coding Tools for Solo Developers (2026 Review)
The best AI coding tools for solo developers in 2026, compared by where they fit in the software development lifecycle: writing code, prototyping, reviewing, testing, and background automation. Plus which tools fit which languages.