SQLLens.AI Docs
Reference

Settings reference

Every SQLLens.AI configuration key — grouped, defaulted, and cross‑linked to the feature it affects.

Animated demo: AI copilot settings power in-editor SQL generation.
skyline-mysql.ai.* — AI generation and provider routing in the editor.
Animated demo: Query Optimizer workbench tied to SQL editor settings.
Optimizer and CodeLens behavior — related SQL editor and performance settings.

How to open settings

Open the VS Code Settings UI (Ctrl+, on Windows/Linux, ⌘+, on macOS). Search for skyline-mysql — every key below appears in the Settings editor under the SQLLens.AI contribution, grouped the same way you see it in the UI.

Note

Defaults and enums may evolve with releases; use the in-editor settings UI after search for authoritative enum lists.

AI / LLM (skyline-mysql.ai.*)

Setting idWhat it doesDefault / typical
skyline-mysql.ai.enabledEnable AI-powered SQL generation from natural language.true
skyline-mysql.ai.defaultProviderDefault AI provider (auto, openai, anthropic, ollama, custom, …).auto
skyline-mysql.ai.fallbackOrderProvider order after routing (OpenRouter, Groq, Grok, …).array in settings UI
skyline-mysql.ai.preferredProviderIf set, tried first before fallback chain.""
skyline-mysql.ai.enableUserLlmKeysWhen true, your Secret Storage keys override bundled keys where set.false
skyline-mysql.ai.schemaContextModeschemaOnly (structure only; no rows) vs none.schemaOnly
skyline-mysql.ai.includeSchemaContextLegacy toggle — if false, no schema sent (overrides schemaContextMode).true
skyline-mysql.ai.maxSchemaItemsMaximum tables included in schema context.50
skyline-mysql.ai.sqlGeneration.freeTierEnabledIntegrated “free tier” routing (Groq-first, OpenRouter fallback, …).true
skyline-mysql.ai.sqlGeneration.integratedPreferGroqOnlyIntegrated Cloud: prefer Groq · openai/gpt-oss-120b first.true
skyline-mysql.ai.sqlGeneration.preferCompactSchemaSend compact schema block for large databases.false
skyline-mysql.ai.sqlGeneration.domainPersonaPreset / domainPersonaOptional domain briefing in prompts.preset / multiline text
skyline-mysql.ai.sqlGeneration.includeExplanationCommentsAllow model to add SQL line comments explaining logic.true
skyline-mysql.ai.openrouter.*OpenRouter model, custom slug, max tokens.see Settings UI dropdown
skyline-mysql.ai.groq.model / skyline-mysql.ai.grok.* / openai.* / anthropic.* / ollama.* / custom.*Per-provider endpoints, models and token ceilings.per provider

Concepts: LLMs & AI · Privacy: schema metadata only unless you disable schema context.

Execution, caching & results

Setting idWhat it doesDefault / typical
skyline-mysql.defaultSelectLimitDefault row limit appended to SELECT queries.1000 (10–100000)
skyline-mysql.queryTimeoutQuery execution timeout (ms).300000
skyline-mysql.enableResultCacheCache schema metadata (tables, columns, …) for responsiveness.true
skyline-mysql.resultDisplayModepanel (bottom panel) vs tab (separate editor tab).panel
skyline-mysql.cacheExpirationSchema cache TTL (ms).300000
skyline-mysql.highlightSQLBlockHighlight active SQL block in editor.false
skyline-mysql.preferConnectionNamePrefer connection label in UI (localized).true
skyline-mysql.disableSqlCodeLenDisable SQL CodeLens row.false
skyline-mysql.debugExtensionTraceVerbose extension tracing (investigations only).false

Editor, drag‑drop & JOIN completions

Setting idWhat it doesDefault / typical
skyline-mysql.dragColumn.insertAtDropPositionInsert dropped column at cursor vs legacy WHERE append.true
skyline-mysql.dragColumn.insertionHighlightAnimationFlash changed range after tree drop.true
skyline-mysql.dragColumn.debugLogsVerbose column-drag logs.false
skyline-mysql.dragColumn.structuredSplitInsertStructured clause-boundary insert on simple SELECT.true
skyline-mysql.dragColumn.clauseModeautomatic vs quickPick clause choice after drop.automatic
skyline-mysql.joinCompletions.useInformationSchemaCatalogBuild JOIN suggestions from INFORMATION_SCHEMA FKs.true
skyline-mysql.joinCompletions.showDeptEmpSubqueryBridgeExtra sample-DB bridges (employees DB).false
skyline-mysql.debugJoinPatternCompletionsConsole logs for JOIN completion paths.false

Workflow: Autocomplete & JOIN helpers · Query builder.

Query Optimizer

Setting idWhat it doesDefault / typical
skyline-mysql.queryOptimizer.disableVisualExplainDisable Visual Explain rendering in QO panel (tree/JSON remain).true
skyline-mysql.queryOptimizerVerboseIndexLogAfter Analyze, pipe full index recommender pipeline to MySQL output channel.false

Tour: Query Optimizer (QO).

Performance Monitor & analytics

Setting idWhat it doesDefault / typical
skyline-mysql.analytics.debugVerbose PM / profiler diagnostics in Output › MySQL.false
skyline-mysql.analytics.forceProcessListModeSkip Performance Schema — use SHOW FULL PROCESSLIST only.false
skyline-mysql.analytics.metricsPollingIntervalMsHow often dashboards poll GLOBAL STATUS / InnoDB status.60000

Tour · diagnostics palette: #pm-diagnostics.

sqllens.ai / Skyline API

Setting idWhat it doesDefault / typical
skyline-mysql.skylineApi.enabledWhen true, explorer / saved connections may require cloud sign‑in per product policy.true
skyline-mysql.skylineApi.baseUrlAPI base URL (no trailing slash).https://api.skylineai.app
skyline-mysql.skylineApi.authPageUrlWeb login page URL.https://www.skylineai.app/auth
skyline-mysql.skylineApi.sendUsageEventsPOST usage metering events.true

Concepts · offline: Cloud & sqllens.ai.

Explorer visibility & themes / grammars

Setting idWhat it doesDefault
skyline-mysql.showUserShow Users node under connection.false
skyline-mysql.showViewShow views.true
skyline-mysql.showQueryShow saved-query nodes.false
skyline-mysql.showProcedureShow stored procedures.true
skyline-mysql.showFunctionShow functions.true
skyline-mysql.showTriggerShow triggers.true

SQL editor themes bundled with SQLLens.AI appear in Preferences → Color Theme. Optional · .es grammar is contributed for ElasticSearch‑style snippets; grammar activates when matching files open.

Screenshot placeholder
Screenshot — Color Theme list with SQLLens.AI themes

Keyboard overrides: Keyboard shortcuts → Customizing.