Context-aware code completion — SignalPilot’s Tab Autocomplete uses AI to suggest code based on your notebook context, not just syntax matching.
Unlike standard Jupyter autocomplete, SignalPilot’s AI autocomplete understands your variables, imported libraries, dataframe schemas, and coding patterns to generate smarter, multi-line suggestions.
Location: Settings panel → Tab Autocomplete toggleWhen to disable:
You find suggestions distracting
Working in a very slow environment
Prefer manual code writing for learning
Quick toggle: Settings are saved per-notebook (coming soon: global preference)
Current: ~1 second pause triggers suggestionsComing soon: Adjustable delay (500ms - 2000ms)Why it matters: Shorter delays = faster suggestions but more interruptions. Longer delays = less distraction but slower completions.
Current: Up to 5 lines per suggestionComing soon: Adjustable max length (1-10 lines)Why it matters: Longer suggestions can save time but might include unnecessary code. Shorter suggestions are easier to review.
Good:monthly_revenue = ...Bad:df2 = ...The AI uses variable names as hints for suggestions. Descriptive names lead to better completions.
Keep cells focused
Good: One logical operation per cellBad: Mixing data loading, cleaning, and analysis in one cellCleaner cell structure helps the AI understand context and suggest relevant completions.
Import libraries consistently
Good:
import pandas as pdimport matplotlib.pyplot as pltimport numpy as np
Bad:
from pandas import *import matplotlib.pyplot
Standard import conventions help the AI recognize patterns and suggest appropriate code.
Pause intentionally for complex completions
If you want multi-line suggestions (like entire function bodies), pause for 1-2 seconds instead of continuing to type.The AI will generate more complete suggestions when given time.
Your actual data values are never sent to SignalPilot servers. The AI sees variable names and types, not the data itself.Example: The AI knows you have a dataframe called revenue_data with columns ['date', 'region', 'amount'], but it doesn’t see the actual revenue numbers.
Does it slow down my notebook?
Minimal impact. Autocomplete runs:
Asynchronously (doesn’t block typing)
Only after pauses (not while you’re actively typing)
With cached context (fast subsequent suggestions)
If you notice slowness:
Increase the pause delay in settings (coming soon)
Disable autocomplete temporarily
Check your internet connection (suggestions require API calls)
Does it work offline?
No. Tab autocomplete requires:
Active internet connection
SignalPilot API access
Fallback: Standard Jupyter autocomplete still works offline.
Yes. Go back to Settings → Tab Autocomplete and toggle it off. Changes take effect immediately (no reload required for disabling).
Does it work in all cells?
Code cells: Yes, full supportMarkdown cells: No, autocomplete is code-specificRaw cells: NoFuture versions may support markdown completions for documentation.
Why are some suggestions not relevant?
The AI makes suggestions based on:
Available context
Common patterns
Statistical likelihood
If suggestions seem off:
Check variable names: Are they descriptive?
Run cells above: The AI needs executed cells for kernel context
Be more specific: Type a bit more before pausing
Use Inline Edit instead: For very specific changes, ⌘K / Ctrl K might be better
Can it complete SQL queries?
Yes! If you’re writing SQL in Python strings (e.g., for SQLAlchemy or database connections), the AI can suggest query completions based on:
Your database schema (if connected)
Common SQL patterns
Table and column names
Example:
query = "SELECT "# AI suggests: "SELECT * FROM users WHERE created_at > '2024-01-01'"
Does it learn from my coding style?
Within a session: Yes, the AI adapts to patterns it sees in your current notebook.Across sessions: Not yet. Future versions will support: