Skip to content

Settings

Open VS Code Settings and search for vscode-kdb, or edit settings JSON. The extension manifest defines accepted values.

Connection records can be owned by User, Workspace, or Workspace Folder settings. Other settings can be set at their declared VS Code configuration scopes unless the UI writes a global preference. Result-panel preference controls write the corresponding global setting; they do not change settings silently.

q language server

These settings are resource-scoped. TextMate highlighting and q execution remain available when the server is disabled.

Setting Default Values / range Behavior and tradeoff
vscode-kdb.languageServer.enabled true Boolean Lazily enable completion, navigation, formatting, semantic tokens, and diagnostics for q documents/cells.
vscode-kdb.languageServer.diagnostics.debounceMs 250 Integer 0–5000 Quiet period before diagnostics for the current document version.
vscode-kdb.languageServer.diagnostics.maxProblems 200 Integer 1–1000 Findings retained in source order before one omission notice.
vscode-kdb.languageServer.maxFileSizeBytes 2097152 Integer 65536–52428800 Parser-backed feature limit. Oversized source retains highlighting/execution and gets one explanation.
vscode-kdb.languageServer.workspace.include ["**/*.q"] Up to 32 globs q files eligible for lazy workspace indexing.
vscode-kdb.languageServer.workspace.exclude generated/vendor defaults Up to 32 globs Defaults exclude .git, node_modules, out, dist, and build. Symlinks are not followed.
vscode-kdb.languageServer.workspace.maxFiles 5000 Integer 1–20000 Hard cap for lazy workspace indexing.
vscode-kdb.languageServer.lint.enabled true Boolean Enables conservative lint findings; syntax errors remain active.
vscode-kdb.languageServer.lint.rules five default rules error, warning, information, hint, off Resource-specific severity for each supported stable lint code.
vscode-kdb.languageServer.connectedIntelligence false Boolean Opt in to bounded active-profile names/types and on-demand table meta. No source, values, preview, credentials, or query history crosses to the server process.

Use KX: Refresh q Language Metadata after an out-of-band schema change. Profile, namespace, connection-generation, disconnect, and setting changes invalidate stale metadata automatically. See q language tooling.

Notebook language and results

Notebook cell language is not a vscode-kdb setting. The default workflow keeps the Python controller selected: set only the intended code cells to q with Make q Cell (KX), star one global active connection, and use Run q Cell (KX). Python cells retain normal Jupyter Run. KX is absent from the kernel candidates by default; VS Code's top-right Jupyter selector itself remains.

The q-only vscode-kdb-q-notebook type is separate: its code cells are always q and its dedicated direct-q controller is always registered. vscode-kdb.notebook.enableDirectController controls only the optional Jupyter candidate and cannot disable .qnb execution.

Use the leading Make q Cell (KX) action. It applies VS Code's supported document-language setter to selected code cells, skips Markdown, preserves source/metadata/output, and does not switch the Python kernel. An actual q cell shows KX: <profile> · Ctrl+Enter (Cmd+Enter on macOS) and a notebook-level Active chooser. Every run uses only the globally starred profile. Legacy notebook target metadata is ignored, credentials and endpoint fields remain excluded from notebook routing metadata, and a missing active profile prompts rather than falling through to list order or a connected non-active profile.

VS Code's built-in Jupyter serializer stores a non-default q cell as raw metadata.vscode.languageId: "q". If explicitly enabled, the optional KX controller appears in the kernel/controller selector, not the Python controller's per-cell language picker.

KX: Restore Notebook Cell Language resolves the notebook default from language_info.name or kernelspec.language and applies it only to selected code cells. For an ordinary IPython notebook that is Python. The command is shown only when a default is available and refuses to apply an unregistered language. It preserves cell source, marker, other metadata, and output.

Setting Default Values / range Behavior and tradeoff
vscode-kdb.notebook.presentation inline inline, panel, both Automatic presentation for released-companion output. First-party Direct IPC output from Run q Cell (KX) or the optional controller always remains inline, persists completely, and uses an explicit live/saved KX Results handoff button. Presentation changes never rerun q.
vscode-kdb.notebook.enableDirectController false Boolean Application-scoped opt-in that registers the pure-q KX q (Direct IPC) controller and offers it in the normal kernel picker. While false, mixed Make/Activate/Run stays available, KX is not a kernel candidate, and a previously saved KX controller selection cannot be restored because that controller is unregistered. It does not remove VS Code's selector.
vscode-kdb.notebook.maxOutputRows 20 Integer 0-10000 First-party Direct IPC rich output is always complete. Positive values also retain the decoded result in the session live cache and are written by Tag/Prepare into the Python helper's %%q --max-rows marker. 0 skips that duplicate live cache; Tag/Prepare uses a bounded 20-row helper fallback.
vscode-kdb.notebook.maxOutputBytes 1000000 Integer 16384-10000000 Bounds the first-party Direct IPC text/plain fallback and the byte value written into an optional %%q --max-bytes helper marker. It never truncates the authoritative Direct IPC rich v2/v3/v4 payload. kx-notebook==0.1.0 separately applies its explicit byte limit to its bounded MIME/static output.

KX: Tag Notebook Cell as q is an optional editing aid: it first sets actual q language mode, then persists the current row/byte values in one %%q marker and nested vscode-kdb metadata. It preserves an existing marker, cell code, and unrelated metadata. A q-language cell without the marker exposes Prepare this q cell for the active Python kernel, which performs only marker/metadata preparation. Neither command is required by released kx-notebook==0.1.0.

These settings are not server-side q limits. Every successful first-party Direct IPC execution automatically stores a complete strict portable-v2/v3/v4 rich payload with a fresh output ID. Versioned exact q cells retain q atoms, typed/mixed vectors and attributes, symbols/chars, raw longs/temporals, sentinels, and nested typed values. Optional validated keyed-table source ordinals preserve structural key-column styling after save/reopen; older payloads without them remain unhighlighted. Exact representability failures include q type and bounded value detail and are reported without JSON stringification, silent rich-output truncation, or substitution of a preview under a complete label. Supported whole-table-column attributes persist exactly. Top-level dictionary container identity remains unsupported because flattening it would not be exact.

Portable output excludes extension-managed connection credentials, session objects, and IPC handles. User-returned q values remain eligible for exact persistence. Output metadata contains a random targeting ID so actions bind to the exact output; that ID contains no result or connection data and cannot restore a live result. Every run executes current source and gets a fresh output ID. With a positive row setting it also gets and binds a fresh live ID; with 0, no new decoded q value is registered, staged, or retained after the complete output is built. A successful zero-mode replacement retires any prior positive-mode live binding; a failed replacement leaves the still-displayed prior output and its valid binding intact. KX adds no custom clear command or button. Bounded first-party v1/v2 Direct IPC previews already saved in notebooks remain readable as Historical saved preview; rerunning executes current source and replaces one with a complete new output rather than recovering its omitted rows.

Mixed Run q Cell (KX) and the optional pure-q controller reject a leading %%q; they run ordinary complete-cell q. Both use only the starred active KX profile; legacy notebook target metadata is ignored and connected non-active profiles are never selected. Both inherit the active profile's effective query timeout—its queryTimeoutMs override or the 3600000 millisecond (60-minute) global default—without an independent 30-second notebook query ceiling. The mixed action does not switch the Python controller. When a tracked q cell is selected in notebook command mode or its editor has text focus, guarded Ctrl+Enter / Cmd+Enter runs and stays, Shift+Enter runs and moves next, and Alt+Enter / Option+Enter runs and inserts below. No-argument commands prefer that selection over a stale active text editor, and move/insert is relative to the executed cell only after an executed result. Python, Markdown, ordinary editors, and output focus keep their normal behavior.

The released Python %%q companion is a distinct Python-kernel-owned route: start with and keep a Python-language cell, load kx_notebook, connect with %kx connect or select another explicit evaluator, and use normal Jupyter Run. A durable extension Direct IPC cell stays q-language instead; do not switch one cell back and forth. The companion does not share the extension Direct IPC session or receive its live record/output binding. Its bounded MIME output cannot supply omitted rows to the extension. Run %%q live with KX explicitly reruns the body as a new extension-selected Direct IPC execution after confirmation; it does not call Jupyter Run, reuse the helper session, or change the selected Python kernel.

inline is the default released-companion experience. For companion output, panel uses the saved-output KX Results panel and both retains inline output plus that handoff. Companion output has no extension live-result record/output binding, so the panel source is only the bounded saved payload. First-party Direct IPC output remains inline, persists completely, and exposes its concise KX Results button. User-resized inline table height and output-local sort/search/selection/chart configuration/zoom/navigator state persist only for that rendered result in the current notebook session. Notebook output has no result-settings panel: durable density/sizing, display strategies, qText/array formatting, elapsed time, and chart guardrails come from the same vscode-kdb.results.* configuration used by the full KX Results panel and VS Code Settings.

Feature Controls

KX Variables and Query History are always-visible runtime views beside Connections. Variables performs no remote work until explicit refresh. Query History capture is enabled by default and can be explicitly disabled; the optional Server Explorer remains independently disabled by default.

Setting Default Values / range Behavior and tradeoff
vscode-kdb.features.serverExplorer false Boolean Shows the focused Server Explorer for an active direct q IPC profile, including a disconnected/reconnect status. Metadata requires a connection and is manual-refresh/on-expand only; disabling disposes its provider and hides its view and commands.
vscode-kdb.serverExplorer.previewCellLimit 10000 Integer 1-1000000 Shared server-side Results-open cap: approximate cells for tables and outer items for lists/dictionaries. Every table/variable action still confirms because scalars and nested values can be large; functions/projections are metadata-only.
vscode-kdb.features.queryHistory true Boolean Records actually issued editor and first-party Direct IPC notebook q text in local workspace extension storage. Set to false to opt out. The view remains visible while disabled but does not read, display, delete, or add retained entries; re-enable it to use entry actions or KX: Clear Query History.
vscode-kdb.queryHistory.maxEntries 100 Integer 1-1000 Maximum newest-first local entries; lowering the limit prunes the oldest. No result payload is stored.

KX Variables inspects the active q process only after explicit refresh and namespace expansion. It shows current root bindings and multi-character application namespaces, structurally excludes KX-reserved one-character top-level namespaces, and never synthesizes absent example bindings. Data and table bindings can open through a confirmed, bounded, fully qualified Results preview; functions, projections, namespaces, and unknown types remain metadata-only. Server Explorer and connected language intelligence remain scoped to the active connection's configured namespace. Neither feature auto-refreshes or installs persistent server code. Local cancellation stops waiting but does not claim to interrupt q work already sent.

Query History uses VS Code workspace Memento, not a syncable/global setting. It is not registered for Settings Sync and is not transmitted as telemetry. Stored fields are exact query text, stable connection ID and recorded label, timestamp, editor or notebook execution kind, status (succeeded, failed, or canceled after an issued run's local wait is canceled), and duration. First-party Direct IPC .qnb and mixed-Jupyter q cells are included; metadata/preview operations, renderer actions, and Python-owned %%q are excluded. Passwords, zero-mode MIME payloads, live metadata, and all other results are excluded. Query text can be commercially or personally sensitive, so set vscode-kdb.features.queryHistory to false in workspaces where local persistence is not acceptable.

Automatic failure reporting

Setting Default Use
vscode-kdb.diagnostics.sentryDsn "" GlitchTip/Sentry project DSN. Automatically reports KX-owned failures when configured.
vscode-kdb.diagnostics.reportServerUrl "" Full HTTP(S) URL receiving versioned diagnostic JSON by POST. Independent of Sentry.
vscode-kdb.diagnostics.failSilently true Suppress reporter-status notices; no reporting popup is shown. Set false for bounded local notices in Output > KX.

All reporting settings are machine-scoped: configure them in User settings, or Remote User settings for the host running KX. Workspace and Workspace Folder values cannot enable or redirect reporting. There is no built-in destination, manual-report command, or implicit environment-variable opt-in. Clear a destination to disable it without reloading VS Code. Removing the last destination also stops remote context collection and discards pending reports. Local KX Output diagnostics remain active.

When configured, reports include KX/VS Code/runtime/OS versions, execution/remote kind, allowlisted KX settings, up to 200 installed extension IDs/versions, process/host uptime, CPU/resource counters, free/total RAM, process memory and V8 heap summaries, packaged dependency versions and SHA-256 build identity. Operation context includes available surface, phase/status, transport/protocol, timings/limits, attempts, result shape counts and cancellation/readiness flags. KX start/success/failure breadcrumbs carry safe details and ephemeral operation IDs. Standard Sentry runtime/OS contexts and searchable surface/build/error-category tags accompany the detailed KX context. Unavailable data is marked explicitly. No extra q queries, user-file reads, Python commands or background resource polling are performed for reporting.

Reports exclude credentials, DSN keys, authorization headers, connection identities/endpoints, query/document source, arbitrary q traceback messages, result values/column names, notebook contents/URIs, personal identifiers and absolute paths. Unstructured error messages are omitted; safe exception types/codes and KX frame coordinates remain available. VS Code's own failures, other extensions' failures, ordinary q Problems findings, routine cancellation and stale-result rejection are excluded. Reopening saved errors does not replay them. New KX saved-output renderer exceptions require an enabled host messaging bridge; rendering without that bridge remains available.

Each destination has a five-second request timeout, one concurrent delivery, at most 20 pending events including the current send, ten attempts per rolling minute and at least 60-second equivalent-failure suppression. Reports/events are limited to 256 KiB; breadcrumbs are limited to 100 safe entries and 64 KiB. Optional resource details, excess extension inventory, then older breadcrumbs are reduced deterministically when needed to fit both wire formats, preserving the primary exception and owned frames with omission markers. False and zero values are retained; unavailable fields are identified explicitly. Delivery is best effort: failed reports and that destination's pending queue are dropped without retry, persistent spooling or interruption of extension operations. A delivery failure starts a one-hour cooldown for that destination. New failures during the cooldown are dropped before collecting report context; only a new failure recorded after the hour triggers another delivery attempt. No timer, background connectivity probe or failed-event replay is used. Other configured destinations stay independent. Delivery/connectivity failures in the reporting transport never become incidents. By default, failSilently suppresses reporter-status notices, and no reporting failure produces a popup. Clearing/replacing a destination revokes pending work; requests already received by a server cannot be recalled. Normal TLS verification is retained and redirects are not followed.

See Troubleshooting for project setup and the JSON receiver contract.

Connections and diagnostics

Legacy import input

sqltools.connections is not a KX setting and is not contributed, written, watched, or synchronized by this extension. KX: Import SQLTools KDB Connections may inspect an already-existing value through VS Code's configuration API only when the user invokes the command. It reviews matching legacy KDB candidates from user, workspace, and workspace-folder scopes; SQLTools itself can be absent.

Only normalized KDB, kdb+, kdb, kdb-sqltools, and DanielAlonso.kdb-sqltools driver values are eligible. Other drivers are ignored before their profile fields or passwords are inspected. Treat workspace settings as untrusted: every mapped field is validated against the standalone bounds, SSH-enabled profiles are not importable, and no sshOptions value is copied.

The imported connectionTimeout is interpreted as seconds and maps to the new profile's connectTimeoutMs only. queryTimeoutMs remains omitted, so it inherits the resolved global KX query default described below. Passwords are copied only after selected candidates receive an explicit modal one-time SecretStorage confirmation; users may choose the labelled import-without-passwords path or cancel. The source value remains unchanged and no ongoing sync exists.

Setting Default Use
vscode-kdb.connections [] Standalone connection profiles at User, Workspace, or Workspace Folder scope. Same-ID precedence is Folder > Workspace > User. The form preserves/moves ownership explicitly. An optional plaintext password fallback may sync; SecretStorage is safer and takes precedence.
vscode-kdb.connectionTimeoutMs 30000 Global direct q IPC connect/handshake timeout in milliseconds. TCP connect and q IPC handshake each receive this full budget. 0 disables both phase deadlines.
vscode-kdb.queryTimeoutMs 3600000 Independent global query-response timeout in milliseconds (60 minutes). 0 disables only the query deadline.
vscode-kdb.performance.trace false Add safe operation timings, sizes, and counts to Output > KX. Query text/values, credentials, and local-server tokens are omitted or redacted.

Timeout settings accept integers from 0 through 2147483647. Connect/handshake and query response deadlines are independent: setting either global or per-profile value to 0 does not disable the other deadline. The query deadline begins when queued work becomes active and is sent, so time waiting behind another query is excluded. A query timeout discards the uncertain client.

Each object in vscode-kdb.connections has these fields:

Field Required Use
id Yes Extension-generated stable ID.
name Yes Unique display name.
host Yes Direct q host name or IP address.
port Yes Integer from 1 through 65535.
database Yes q namespace, normally . or a value such as .analytics.
username Yes Optional username represented as a string; empty means none.
password No Plaintext q IPC password fallback. SecretStorage is safer and takes precedence when it has a value; empty is valid.
connectTimeoutMs No Per-connection connect/handshake override. Omit (leave blank in the form) to inherit the global connect default; 0 disables both deadlines.
queryTimeoutMs No Per-connection query override. Omit (leave blank in the form) to inherit the resolved global query default; 0 disables it.

Existing connection objects without optional fields remain valid and need no migration. A blank or omitted per-connection query override inherits the global queryTimeoutMs value, whose default is 60 minutes; it does not copy a global or per-connection connect override. Editing with a blank password keeps the effective password; Clear saved password removes the SecretStorage value, revealing any configured fallback.

{
  "vscode-kdb.connections": [{
    "id": "dev-q",
    "name": "Development q",
    "host": "localhost",
    "port": 5000,
    "database": ".",
    "username": "",
    "password": "<plaintext-password>"
  }]
}

The password above is stored as plaintext and may be committed or synchronized. Prefer VS Code SecretStorage through the connection form.

Workspace-defined profiles live with the project and survive container recreation; remote/container User settings are not a durable project substitute. SecretStorage is local to the relevant VS Code environment, so passwords may need re-entry after moving between local, remote, or container hosts.

The KX Output channel always receives connection/query lifecycle diagnostics. Performance trace adds detail only when explicitly enabled. The extension does not enable it for you.

Enabled performance records also retain their [vscode-kdb:perf] Extension Host console entry for development compatibility; use Output > KX for normal troubleshooting.

Result display

Setting Default Values / range Use
vscode-kdb.results.viewer.initialViewColumn active active, beside, one, two, three Editor group for the first result panel.
vscode-kdb.results.viewer.arrayDisplayFormat commaSpace commaSpace, space, raw Array/list cell display text.
vscode-kdb.results.viewer.dictionaryDisplayStrategy grid grid, qText Top-level dictionaries.
vscode-kdb.results.viewer.listDisplayStrategy grid grid, qText Top-level general/mixed/object lists.
vscode-kdb.results.viewer.autoFitColumns true Boolean Enable automatic column sizing. false performs no automatic width calculation.
vscode-kdb.results.viewer.autoFitMode visibleRows wholeResult, visibleRows Fit on-screen headers and cells by default, or opt into stable whole-result widths.
vscode-kdb.results.viewer.columnWidths {} Sparse position-to-width map, 80-2,000 px Extension-managed zero-based original/source-position manual widths. Legacy array-shaped state is normalized into this map.
vscode-kdb.results.qText.syntaxHighlighting false Boolean Apply lightweight, theme-aware q token colors only to qText result display. Raw text is rendered through text nodes/spans, never raw HTML.
vscode-kdb.results.qText.displayFormatting false Boolean Apply conservative view-only layout to supported balanced q lambda/block structures; malformed or ambiguous input remains exact raw qText.
vscode-kdb.results.density standard compact, standard, comfortable Active grid density.
vscode-kdb.results.showRowIndex true Boolean Show the visual row-number column.
vscode-kdb.results.showColumnSummaryStatistics false Boolean Show bounded per-column summary statistics in the standard KX Results panel. The notebook grid does not expose this panel-only surface.
vscode-kdb.results.elapsedTimeDisplay auto auto, milliseconds Result elapsed-time formatting.

These settings choose supported top-level layouts and array formatting; they do not erase q cell metadata. Functions and standalone numeric or symbol q atoms always use qText so their type-preserving q representation is not mistaken for a one-cell grid. Numeric values nested in tables, lists, and dictionaries remain structured. Temporal atoms retain their temporal semantics. Default grid cells use concise q-aware text: symbols remain backticked, character vectors quoted, singleton vectors use enlist, and empty typed, nested, or special values retain distinguishing syntax. qText, IPC, and exact portable v2/v3/v4 persistence remain type-preserving. Table copy/export is intentionally different: it uses ordinary analyst strings, numbers, booleans, portable temporal values, and format-specific null/infinity handling without mutating the source value.

True q tables and keyed tables remain grids. q-text has a large-character safety cap and marks truncation. Both readability settings are disabled by default, do not affect source editors or execute q, and propagate to open/reused result panels and live direct notebook results.

The KX Results panel and notebook renderer use the same vscode-kdb.results.* schema for density/dimensions, positional widths/auto-fit, row-index display, output defaults, copy/export and large-sort guardrails, elapsed time, qText/value strategies, and chart precision/source limits. A supported change made in either surface updates the same global setting and propagates to open panels and KX notebook outputs. showColumnSummaryStatistics is the explicit panel-only exception: it is durable under the same namespace but does not imply notebook summary computation or UI. The two legacy chart sampling keys remain schema-compatible but are deprecated and ignored as described below. vscode-kdb.notebook.* remains separate only for genuine notebook lifecycle/presentation concerns such as direct-controller registration, Direct IPC fallback limits, optional helper markers, and companion-output presentation. Per-output selection, visible-column order, sort, search, height, chart selection, hidden series, zoom, and navigator window are transient and are not written into .ipynb.

Font size keeps its existing numeric storage contract. A value of 0 still means “use the VS Code default,” but notebook Settings presents that state as Auto rather than an ambiguous raw zero. Entering 0 or clearing the field writes 0; no second preference or per-output font-size state is created.

Array display examples:

Value Example
commaSpace 1, 2, 3
space 1 2 3
raw [1 2 3] where bracketed q-like display is available

Density dimensions

Setting Default Range
vscode-kdb.results.compact.cellWidth 140 80-600 px
vscode-kdb.results.compact.rowHeight 24 20-80 px
vscode-kdb.results.compact.fontSize 0 (Auto) 0-32 px; stored 0 uses the VS Code default
vscode-kdb.results.standard.cellWidth 160 80-600 px
vscode-kdb.results.standard.rowHeight 28 20-80 px
vscode-kdb.results.standard.fontSize 0 (Auto) 0-32 px; stored 0 uses the VS Code default
vscode-kdb.results.comfortable.cellWidth 180 80-600 px
vscode-kdb.results.comfortable.rowHeight 32 20-80 px
vscode-kdb.results.comfortable.fontSize 0 (Auto) 0-32 px; stored 0 uses the VS Code default

Width precedence is: a manual positional width, then the selected auto-fit result when enabled, then the active density's base cellWidth. Whole result scans the complete available displayed table once, including array/list values outside the virtual viewport, and remains stable while scrolling. Visible rows deliberately recomputes from the current virtual slice or saved-result page. For a bounded Python-helper or historical Direct IPC preview, “whole result” means all persisted rows; omitted rows are unavailable.

Dragging a header edge writes its zero-based original/source position to the global sparse columnWidths map. Hiding or reordering a column does not retarget its width; the same ordinal source slot is reused across later query schemas, panels, notebook outputs, and VS Code/machine restarts. The map has no notebook-transport column cap, so every ordinary-panel source position can persist independently. Double-click the edge to clear one position or use Reset column widths to clear all positions. Manual widths remain authoritative while auto-fit is enabled. Explicitly turning auto-fit off and back on, or selecting Fit columns now, clears widths for the current columns and fits them again; ordinary reloads preserve manual widths. Fit columns now also works while auto-fit is already checked and does not rerun q.

The Cell width textbox edits the active density's all-column base preset. Changing it or switching density intentionally clears all positional manual widths, including column zero. With auto-fit unchecked, the base preset then applies to every data column; with auto-fit enabled, its selected scope supplies non-manual widths.

Charting

Setting Default Use
vscode-kdb.results.viewer.chartMaxSourceRows 2000000 Maximum source rows scanned for a built-in chart; minimum 1.
vscode-kdb.results.viewer.tableDecimalPlaces -1 Table floating-point display precision: -1 is Auto; 0–12 rounds display only. Also available in quick settings.
vscode-kdb.results.viewer.chartScientificNotationThreshold 1000000 Positive absolute numeric X/Y magnitude at which scientific notation starts. Temporal X labels retain time formatting.
vscode-kdb.results.viewer.chartDecimalPlaces 4 Numeric axes, tooltip, legend, box, and OHLC precision; 0-12.
vscode-kdb.results.viewer.chartZoomMinSampledPoints 3000 Deprecated compatibility key; ignored. Initial/full and ranged views use the fixed ordinary-series contract below.
vscode-kdb.results.viewer.chartZoomMaxSampledPoints 7000 Deprecated compatibility key; ignored. Ordinary line/scatter/step views target exactly 7,000 plotted points when at least 7,000 eligible finite points exist.

Initial/full and every settled absolute navigator or main-plot range render all eligible finite points below 7,000. At or above 7,000, ordinary line, scatter, and step views use deterministic reduction to exactly 7,000 plotted points when chart semantics do not genuinely consolidate them. Bar grouping, duplicate-X consolidation, box buckets, and candlestick aggregation can produce fewer visual groups or candles; grouped charts retain at most 12 categories and 36 generated series, with one shared family visual-item budget. Status distinguishes those rendered items from eligible source rows. The navigator adds no Y-range policy. The deprecated keys stay in the schema so existing user/workspace configuration remains valid, but overrides are ignored.

Copy, export, and warnings

Setting Default Use
vscode-kdb.results.includeHeaders true Include headers by default.
vscode-kdb.results.includeRowIndex true Include 1-based row numbers by default.
vscode-kdb.results.hideLargeResultWarnings false Hide the non-blocking result-size notice.
vscode-kdb.results.hideLargeSortWarnings false Skip large-sort confirmation globally.
vscode-kdb.results.largeSortWarningRowThreshold 5000000 Integer 1-2147483647. Warn only when the displayed result has strictly more rows than this value.
vscode-kdb.results.copyExportConfirmCellThreshold 1000000 Selected-cell threshold for copy/export confirmation; minimum 1.
vscode-kdb.results.localDataServerFullExportCellLimit 1000000 Visible-cell hard limit for local-server current.* endpoints; minimum 1.

The default large-sort boundary does not warn at exactly 5,000,000 rows and first warns at 5,000,001. This applies to the ordinary panel and live notebook grid. Confirming a sort approves later sorts only for the exact displayed result identity; cancellation does not approve it. Re-execution, replacement, reopening, or a new output identity resets approval. The hide setting remains the durable global opt-out.

Column summaries are computed from the current decoded panel result without rerunning q. Exact mode includes both boundary values: at most 50,000 rows and at most 100,000 cells. Above either budget, the extension host uses a deterministic evenly spaced sample of at most 10,000 rows, still capped at 100,000 cells, and sends only compact summaries to the webview. Sampled values and counts are observed, explicitly partial, and never extrapolated.

Example

{
  "vscode-kdb.features.serverExplorer": false,
  "vscode-kdb.serverExplorer.previewCellLimit": 10000,
  "vscode-kdb.features.queryHistory": true,
  "vscode-kdb.queryHistory.maxEntries": 100,
  "vscode-kdb.notebook.presentation": "inline",
  "vscode-kdb.notebook.enableDirectController": false,
  "vscode-kdb.notebook.maxOutputRows": 20,
  "vscode-kdb.notebook.maxOutputBytes": 1000000,
  "vscode-kdb.connectionTimeoutMs": 30000,
  "vscode-kdb.queryTimeoutMs": 3600000,
  "vscode-kdb.performance.trace": false,
  "vscode-kdb.results.viewer.arrayDisplayFormat": "space",
  "vscode-kdb.results.viewer.dictionaryDisplayStrategy": "grid",
  "vscode-kdb.results.viewer.listDisplayStrategy": "qText",
  "vscode-kdb.results.qText.syntaxHighlighting": false,
  "vscode-kdb.results.qText.displayFormatting": false,
  "vscode-kdb.results.density": "standard",
  "vscode-kdb.results.includeHeaders": true,
  "vscode-kdb.results.includeRowIndex": true,
  "vscode-kdb.results.showColumnSummaryStatistics": false,
  "vscode-kdb.results.largeSortWarningRowThreshold": 5000000,
  "vscode-kdb.results.copyExportConfirmCellThreshold": 1000000
}

Row/cell guardrails, warning preferences, elapsed-time format, and array separators are configured here in extension settings. Results and notebook quick settings retain separate table and chart decimal controls. Turning autofit on clears manual widths for the current columns; ordinary reloads preserve manual resizing.