IntelliSense Number Selection

Love this extension? Become a sponsor to support ongoing development and new features.
Select IntelliSense Suggestions with Number Keys
Press Cmd/Ctrl+1-9 to pick suggestions like Alfred, Raycast, or Spotlight. No more arrow keys.
How It Works
// 1. Start typing to trigger IntelliSense
con| // cursor position
// 2. IntelliSense shows suggestions:
// [1] console
// [2] const
// [3] constructor
// [4] continue
// [5] confirm
// 3. Press Cmd+2 (or Ctrl+2) to instantly select "const"
const| // "const" is inserted immediately
Features
- Instant Selection: Select IntelliSense suggestions with number keys 1-9
- Natural Shortcuts:
Cmd+1-9 on Mac, Ctrl+1-9 on Windows/Linux
- Universal Support: Works with ALL languages and IntelliSense providers
- Zero Config: Works instantly after installation
- Smart Context: Only activates when suggestions are visible
Installation
- Open VS Code
- Press
Cmd+P (or Ctrl+P)
- Type:
ext install yonasvalentinmougaardkristensen.intellisense-hotkeys
- Press Enter and click Install
Keyboard Shortcuts
| Platform |
Shortcut |
Action |
| macOS |
Cmd+1 to Cmd+9 |
Select suggestions 1-9 |
| Windows |
Ctrl+1 to Ctrl+9 |
Select suggestions 1-9 |
| Linux |
Ctrl+1 to Ctrl+9 |
Select suggestions 1-9 |
These shortcuts only work when IntelliSense suggestions are visible, so they won't conflict with other extensions.
Works With
This extension enhances ALL IntelliSense providers:
- Built-in VS Code IntelliSense
- GitHub Copilot suggestions
- TabNine AI completions
- Language-specific IntelliSense (Python, JS, TS, etc.)
- Snippet extensions
- Custom IntelliSense providers
Examples
JavaScript/TypeScript
// Typing "doc" shows:
// [1] document
// [2] Document
// [3] DocumentFragment
// Press Cmd+1 for "document"
Python
# Typing "imp" shows:
# [1] import
# [2] importlib
# [3] __import__
# Press Cmd+1 for "import"
React/JSX
// Typing "use" shows:
// [1] useState
// [2] useEffect
// [3] useContext
// [4] useReducer
// Press Cmd+2 for "useEffect"
Troubleshooting
Extension not working?
- Ensure IntelliSense is enabled:
"editor.quickSuggestions": true
- Check for keybinding conflicts in Keyboard Shortcuts
- Restart VS Code after installation
Shortcuts not responding?
- Make sure IntelliSense popup is visible
- Check that you have multiple suggestions (single suggestions auto-complete)
- Verify no other extensions are capturing these shortcuts
Requirements
- VS Code 1.102.0 or higher
- IntelliSense enabled (default in VS Code)
Changelog
1.0.0
Initial release
- Number key selection for IntelliSense suggestions (1-9)
- Cross-platform support (Mac/Windows/Linux)
- Smart context-aware activation
- Zero configuration required
License
MIT License - see LICENSE file for details
Support Development
This extension is free and open source. If it makes your coding faster, consider supporting its development:
GitHub Sponsors is the best way to support ongoing development. Sponsors get priority support and help fund new features.

Other ways to help
MIT License