Smart completions
Inline completions
As you type in the editor, Spinini AI can suggest code completions that go beyond simple symbol-matching. These suggestions understand the context of your entire file.
Accepting completions
When a suggestion appears as greyed-out text after your cursor:
Triggering completions manually
If no suggestion appears automatically, press Alt+\ to request a completion at the current cursor position.
Multi-line completions
Spinini AI can complete entire function bodies, not just single tokens. Start typing a function signature and press Tab when the full implementation appears.
Comments as prompts
Write a comment describing what you want, then press Tab on the blank line below it:
// Calculate the Fibonacci number at position n using memoization
// (press Tab on the next line)
Spinini AI will generate the implementation based on your description.
Turning completions on/off
Open Settings → Editor → AI Completions to toggle inline suggestions. You can also set a delay (0 ms for instant, up to 2000 ms).