A dead-simple VSCode extension for practicing LeetCode, or even just coding without hints to test your understanding of problems. Adds a button to the bottom status bar; click it to toggle autocomplete / IntelliSense off, click again to turn it back on.
When ON, LeetMode disables:
- IntelliSense / quick suggestions
- Word-based suggestions
- Trigger-character & parameter hints
- Inline "ghost text" suggestions (GitHub Copilot)
- Tab completion and accept-on-Enter
Your previous settings are backed up and restored exactly when you turn it OFF.
- Open this folder in VSCode.
- Press F5 to launch an Extension Development Host window.
- Look at the bottom-left status bar for ⚡ LeetMode: OFF and click it.
Package and install the extension into your normal VSCode:
npm install -g @vscode/vsce
vsce package # produces leetmode-0.0.1.vsix
code --install-extension leetmode-0.0.1.vsixThen reload VSCode. The ⚡ LeetMode button appears in the status bar.
- Click the status bar button, or
- Run
LeetMode: Toggle autocomplete off/onfrom the Command Palette (Ctrl+Shift+P).