Solve and manage LeetCode problems directly from Visual Studio Code.
VS-Leet brings the complete LeetCode workflow into your editor, allowing you to browse problems, write solutions, run tests, and submit — all without leaving VS Code. Perfect for interview preparation, competitive programming practice, and daily coding challenges.
Features
Browse LeetCode problems from the activity bar sidebar
Filter by difficulty (Easy, Medium, Hard) and search by tags
Open problem descriptions directly in the editor with syntax highlighting
Write solutions in your preferred language (C++, Java, Python, JavaScript, TypeScript, and more)
Run test cases with instant feedback on results
Submit solutions directly to LeetCode with real-time verdict
Track progress with solved/attempted status indicators
Automatic solution saving to your workspace
Persistent login — authenticate once and stay signed in
Usage
Click the VS-Leet icon in the activity bar (left sidebar)
Sign in with your LeetCode account when prompted
Browse problems, filter by difficulty, or search by tags
Click on a problem to open it in the editor
Write your solution and run test cases
Submit when ready!
Configuration
Configure solution storage location and default language in VS Code settings:
vs-leet.solutionFolder — Folder name for storing solution files (default: "Solutions")
Requirements
Visual Studio Code version 1.90.0 or higher
Active LeetCode account
Internet connection for problem syncing and submission
Known Limitations
Login requires Chromium browser automation (installed automatically on first sign-in)
Some premium LeetCode features may not be available
Submission feedback depends on LeetCode server response times