Skip to main contentQuick Start with Prometheus Autocomplete
Learn how to quickly start using Prometheus’s AI autocomplete in your IDE, including enabling inline code suggestions and keyboard shortcuts for accepting, rejecting, or partially accepting completions.
How to Enable and Use Prometheus Autocomplete
Autocomplete provides inline code suggestions as you type. To enable it, simply click the “Prometheus” button in the status bar at the bottom right of your IDE or ensure the “Enable Tab Autocomplete” option is checked in your IDE settings.
Keyboard Shortcuts for Autocomplete
Accept a Full Suggestion
Accept a full suggestion by pressing Tab
Reject a Full Suggestion
Reject a full suggestion with Esc
Partially Accept a Suggestion
For more granular control, use cmd/ctrl + → to accept parts of the suggestion word-by-word.
Force a Suggestion (VS Code)
If you want to trigger a suggestion immediately without waiting, or if you’ve dismissed a suggestion and want a new one, you can force it by using the keyboard shortcut cmd/ctrl + alt + space.