NJustyBaseDocumentation

reference guide

Settings reference

Browse the current JustyBase settings, defaults, and configuration boundaries generated from the extension manifests.

Supportedv3.22.1 · verified 2026-08-19

#Settings reference

The table below is generated from the root and companion extension manifests during the documentation build. Values are defaults, not recommendations for every warehouse. Open JustyBase: Open Settings or edit .vscode/settings.json with the exact key.

Setting Default Description
justybase.access.readOnly true Open Microsoft Access databases without write intent.
justybase.ai.tools {}
justybase.cacheTTL 12 Metadata cache time-to-live in hours. Cached schema, tables, and columns will be refreshed after this period. Default: 12 hours.
justybase.codeLens.enabled false Show CodeLens toolbar at top of document and per-statement actions (Run, Explain, Visualize Query Flow, Export).
justybase.codeLens.explain false Show 'Explain' button in top-level CodeLens toolbar.
justybase.codeLens.export false Show 'Export' button in top-level CodeLens toolbar.
justybase.codeLens.import false Show 'Import' button in top-level CodeLens toolbar.
justybase.codeLens.markdown false Show 'MD' (Markdown export) button in top-level CodeLens toolbar.
justybase.codeLens.openAsXlsb false Show 'Open as XLSB' button in top-level CodeLens toolbar.
justybase.codeLens.openAsXlsx false Show 'Open as XLSX' button in top-level CodeLens toolbar.
justybase.codeLens.run false Show 'Run' button in top-level CodeLens toolbar.
justybase.codeLens.runBatch false Show 'Run Batch' button in top-level CodeLens toolbar.
justybase.copilot.enabled true Register JustyBase AI tools and enable AI-assisted SQL workflows. When disabled, the extension does not register its language-model tools; the MCP server is controlled separately.
justybase.copilot.maxWorkspaceProfilesInContext 5 Maximum number of workspace Copilot table profiles included in one Copilot request context.
justybase.ddl.cacheTTL 3600000 DDL cache time-to-live in milliseconds (default: 1 hour)
justybase.ddl.maxTablesForContext 10 Maximum number of tables to include in Copilot DDL context
justybase.enableStreaming true Enable streaming mode for query results. When enabled, results are sent to the UI in chunks for better memory efficiency and faster first-data display with large result sets.
justybase.filePreview.csvPreviewMode custom Choose the default preview mode for CSV files. 'custom' uses the Netezza Data File Preview with advanced features. 'native' uses VS Code's built-in CSV preview.
justybase.filePreview.maxColumns 512 Maximum number of columns to read for the spreadsheet preview (XLSX, XLSB, CSV). Wider sheets keep their remaining columns available through export or Add to Data Workspace.
justybase.filePreview.maxRows 20000 Maximum number of rows for Parquet and result-grid previews. The Excel/CSV spreadsheet view streams all rows and ignores this limit.
justybase.formatSQL.keywordCase upper Keyword case in formatted SQL.
justybase.formatSQL.tabWidth 4 Number of spaces for indentation in formatted SQL.
justybase.highlightActiveStatement true Enable highlighting of the active SQL statement.
justybase.importWizard.backgroundValidationEnabled true Enable asynchronous background validation for large imports. When enabled, validation runs in the background after the initial preview loads.
justybase.importWizard.backgroundValidationSampleSize 20000 Number of rows to validate in the background. Higher values provide more thorough validation but take longer. Default: 20000.
justybase.importWizard.defaultMode prompt Default mode for the Import Data command. Use prompt to choose each time, simple to keep the current best-effort flow, or advanced to open the import wizard directly.
justybase.importWizard.previewRowCount 10 Number of rows shown in the advanced import wizard preview grid.
justybase.importWizard.validationSampleSize 25 Number of preview rows validated synchronously in the advanced import wizard.
justybase.linter.enabled true Enable SQL linting for Netezza files.
justybase.linter.mode advanced Linting mode. Advanced parser-based SQL validation is always used.
justybase.linter.rules {"NZ001":"warning","NZ002":"error","NZ003":"error","NZ004":"warning","NZ005":"hint","NZ006":"information","NZ007":"information","NZ008":"warning","NZ009":"hint","NZ010":"information","NZ011":"warning","NZ012":"warning","NZ013":"information","NZ014":"error","NZ015":"warning","NZ016":"warning","NZ017":"information","NZ018":"warning","NZ019":"error","NZ020":"information","NZ023":"information","NZP001":"error","NZP002":"error","NZP003":"warning","NZP004":"error","NZP005":"error","NZP006":"error","NZP007":"warning","NZP008":"information","NZP009":"information","NZP010":"information","NZP011":"warning","NZP012":"error","NZP013":"warning"} Configure SQL linter rules severity. Available rules: NZ001 (SELECT *), NZ002 (DELETE without WHERE), NZ003 (UPDATE without WHERE), NZ004 (CROSS JOIN), NZ005 (Leading wildcard LIKE), NZ006 (ORDER BY without LIMIT), NZ007 (Inconsistent keyword case), NZ008 (TRUNCATE), NZ009 (Multiple OR), NZ010 (Missing table alias), NZ011 (CTAS missing DISTRIBUTE ON), NZ012 (UPDATE with AS alias), NZ013 (UNION vs UNION ALL), NZ014 (OR in JOIN condition), NZ015 (Function in WHERE), NZ016 (Implicit Casting in Join), NZ017 (Double Quoted Identifiers), NZ018 (Self-referential JOIN), NZ019 (CASE without END), NZ020 (IN (SELECT) subquery), NZ023 (Qualify table references), NZP001 (Missing BEGIN_PROC/END_PROC), NZP002 (Missing LANGUAGE clause), NZP003 (Missing RETURNS clause), NZP004 (Unmatched BEGIN/END blocks), NZP005 (Unmatched IF statement), NZP006 (Unmatched LOOP statement), NZP008 (Unused variable), NZP010 (RAISE without severity), NZP011 (Missing INTO in SELECT), NZP012 (Incorrect ELSIF syntax), NZP013 (Missing THEN), NZP017 (Unmatched CASE), NZP022 (OUT/INOUT assignment), NZP024 (Missing RETURN). On-demand procedure heuristics: NZP007, NZP009, NZP014, NZP015, NZP016, NZP018, NZP019, NZP020, NZP025, NZP026, NZP027, NZP028, NZP029, NZP030. Values: error, warning, information, hint, off.
justybase.logging.level INFO Logging level for extension output channel
justybase.longQueryAlertThreshold 10 Notify when a query execution exceeds this threshold (in minutes). Set to 0 to disable.
justybase.mcp.connectionName Name of the Netezza connection explicitly selected for both MCP transports. The active editor connection is not used. Select it in JustyBase Settings → MCP Server.
justybase.mcp.enabled false Register the Netezza MCP server (stdio) for Copilot Chat in VS Code. Tool access is controlled by justybase.ai.tools. Passwords are passed to the server process via environment variables and are never written to disk.
justybase.mcp.externalEnabled false Start the Netezza MCP server in HTTP mode on 127.0.0.1 so other MCP clients on this machine (Cursor, Claude Desktop, ...) can use the schema tools. Write access requires a bearer token shown in JustyBase Settings. Runs only while VS Code is open.
justybase.mcp.port 37210 TCP port for the Netezza MCP server HTTP mode (127.0.0.1 only).
justybase.metadata.fullRefreshColumnConnections 1 Physical Netezza sessions used by the column stage of a full metadata refresh (1–8). One is safest; higher values can shorten refreshes by processing independent databases in parallel. Additional sessions are optional and fall back to the primary session if they cannot be opened.
justybase.metadata.liveFallback onDemand Controls whether metadata consumers may fall back to a live Netezza catalog query on a cache miss. Completion and validation always prefer the shadow cache.
justybase.metadata.popularDatabases 2 Number of recently used Netezza databases warmed together with the active database. The rest stay lazy and are loaded when opened. Default: 2. Set to 0 to warm only the active database.
justybase.metadata.queryConcurrency 1 Maximum number of concurrent metadata catalog queries outside the dedicated full-refresh column pool. The safe default is one query per connection; increase only when the Netezza workload allows it. Applied to per-connection query limiting in the extension host and metadata warm-up batching in the language server. Default: 1.
justybase.metadata.sessionSweep.enabled true Automatically drop stale metadata catalog sessions that exceed the configured age (DROP SESSION). Only affects sessions created by metadata/prefetch queries; user queries are never touched.
justybase.metadata.sessionSweep.intervalMinutes 5 How often the metadata session sweeper checks for stale sessions.
justybase.metadata.sessionSweep.maxAgeMinutes 20 Metadata catalog sessions older than this many minutes are dropped automatically (DROP SESSION). Requires system admin privileges on Netezza.
justybase.metadataCache.crossWindowSync true Synchronize metadata cache across multiple VS Code windows using file-system watch + polling. When enabled, a window that finishes a prefetch notifies other windows to reload from disk instead of re-fetching from the database.
justybase.metadataCache.diskPersistence true Persist metadata cache to disk between VS Code sessions (enabled by default). When enabled, metadata is loaded instantly from disk on startup, avoiding slow database prefetches. Disable only if the cache file takes up too much disk space.
justybase.metadataCache.memoryWarningBytes 268435456 Estimated in-memory metadata cache size (bytes) above which a warning is logged when viewing cache stats. Default: 256 MB.
justybase.pythonArgs [] Arguments passed to the configured Python executable before the script, for example ["-3"] with the Windows py launcher.
justybase.pythonPath python Python executable for running scripts. Use justybase.pythonArgs for interpreter arguments.
justybase.query.executionTimeout 3600 Query execution timeout in seconds (default: 1 hour)
justybase.query.maxParallelGlobal 12 Maximum independent SQL executions across editor tabs in this extension host.
justybase.query.maxParallelPerTab 4 Maximum independent SQL executions per editor tab when Keep Connection Open is disabled.
justybase.query.rowLimit 200000 Maximum number of rows to fetch per query execution
justybase.results.copyFormat markdown
justybase.results.decimalGrouping true Use grouped thousands for NUMERIC and DECIMAL result columns.
justybase.results.decimalScale 4 Default number of decimal places shown for NUMERIC and DECIMAL result columns.
justybase.results.decimalSeparator . Decimal separator used in formatted NUMERIC and DECIMAL result values.
justybase.results.defaultExcelFormat xlsb
justybase.results.diskBackedResults.diskBudgetMb 2048 Total on-disk budget in MB shared by all disk-backed result stores. When a spill would cross it, the result stays in memory and a warning is shown.
justybase.results.diskBackedResults.enabled true Spill large result sets to a temporary SQLite database to reduce memory usage.
justybase.results.diskBackedResults.idleSpillMinutes 0 Spill idle in-memory results to SQLite after this many minutes without interaction (0 = disabled).
justybase.results.diskBackedResults.idleSpillRowThreshold 10000 Minimum row count for idle spill eligibility.
justybase.results.diskBackedResults.insertBatchSize 50000 Rows per SQLite INSERT batch during spill.
justybase.results.diskBackedResults.memoryByteThreshold 134217728 Approximate host-memory budget in bytes before results spill to SQLite.
justybase.results.diskBackedResults.memoryRowThreshold 25000 Spill result rows to SQLite once this row count is reached (host RAM).
justybase.results.diskBackedResults.rowThreshold 500000 Hard upper row count before disk-backed storage must activate (when enabled).
justybase.results.gridFontFamily Menlo, Monaco, Consolas, 'Courier New', monospace Font family used by the main results data grid. Use 'editor' to follow the current VS Code editor font, or provide a custom CSS font-family stack. Available: JetBrains Mono, Fira Code, Cascadia Code, Source Code Pro, IBM Plex Mono, Menlo, Consolas, Ubuntu Mono, Droid Sans Mono, Courier New.
justybase.results.gridFontSize 12 Font size (px) used by the main results data grid and row view.
justybase.results.groupSeparator Grouping separator used in formatted result grid numbers. The default is a space.
justybase.results.integerGrouping true Use grouped thousands for integer-like result columns such as SMALLINT, INT, and BIGINT.
justybase.results.maxDataResults 50 Maximum number of data result sets to keep per SQL file. Older unpinned results are automatically pruned when this limit is exceeded.
justybase.results.maxPinnedDataResults 50 Maximum number of result sets that can be manually pinned per SQL file.
justybase.results.preserveTrailingZeros true Preserve trailing zeros when rendering NUMERIC and DECIMAL result values.
justybase.results.roundingMode half-up Rounding mode used when formatted result values need to reduce decimal precision.
justybase.results.useFormattedValuesForExport false Use formatted display values instead of raw values for result exports initiated from the results grid.
justybase.safeExecute.enabled true Show confirmation dialog before executing risky SQL (DELETE/UPDATE without WHERE, TRUNCATE).
justybase.schemaSearch.searchAllDatabases false When enabled, Schema Search queries all databases on the connection. When disabled, only the active/default database is searched (recommended for large Netezza warehouses).
justybase.showConflictWarnings true Show warning when other SQL extensions (SQLTools, MS SQL, etc.) are detected that may cause conflicts.
justybase.sql.autoJoinAliases true Generate a unique table alias when accepting a JOIN completion.
justybase.sql.completionKeywordCase upper Case of SQL keywords inserted by completion. The suggestion list itself always shows keywords in upper case.
justybase.sql.expandStarLayout leadingComma Layout of the column list produced by the "Expand * to column list" refactoring and the NZ001 quick fix. Unaliased tables receive a generated alias; existing aliases are reused.
justybase.sql.groupByGhostText true
justybase.sql.joinAliases [] Workspace table-to-alias overrides used by JOIN completions.
justybase.sql.joinGhostText afterJoin
justybase.sql.joinKnowledgeIndex false Learn from workspace .sql files: lower-priority JOIN suggestions and FROM-object usage bands. Off by default; manual decisions and catalog metadata are unaffected. Only identifiers, counters and timestamps are stored; no SQL text, literals or result values. Learning from executed queries is controlled by justybase.sql.learnFromExecutedQueries.
justybase.sql.joinKnowledgeIndexGitWindowDays 365 Git history window used only to select which workspace .sql files are indexed. 0 means all files. Dirty, untracked and open files are always included; Git history itself is never parsed as evidence.
justybase.sql.joinNameHeuristics true Allow lower-priority JOIN suggestions based on matching cached key and column names when no declared or configured relationship is available.
justybase.sql.joinRelations [] Workspace virtual JOIN relationships. Table identities use database/schema/table fields and columns map left to right.
justybase.sql.learnFromExecutedQueries true Learn from successful Netezza queries you run (and, once, from the query history): JOINs, FROM sources and columns you use repeatedly rank higher. Stored locally as identifiers, counters and timestamps only; no SQL text, literals or result values. Existing knowledge is kept when turned off; clear it in the JOIN knowledge manager.
justybase.sql.personalizeColumns true Order column completions by how broadly each column is used in workspace SQL files and successful executions (requires the JOIN Knowledge index). Only column order changes; no column is added or hidden.
justybase.sql.personalizeFromObjects true Apply manual SQL-object preferences (pin, boost, demote, exclude) to FROM source completion. JOIN ranking and the two documented Stage 1 behavior changes are unaffected when this is disabled.
justybase.sql.showHoverTooltips true Show SQL editor hover tooltips for aliases, tables, and columns.
justybase.sql.showInlineTypeHints false Show inline SQL type hints for resolved qualified columns (for example: alias.column INT8).
justybase.sql.showSelectionActionHover true Show Run/Export action links when hovering over a non-object part of selected SQL.
justybase.sql.showSelectionExecutionCodeActions true Show Run/Export actions in the lightbulb menu (Quick Actions) for selected SQL.
justybase.sqlParser.fastPathThreshold 1572864 Character count threshold for using fast lexer-based SQL statement splitting. Files larger than this use the legacy character-scan method which is faster for huge files. Default: ~1.5M characters (1572864).
justybase.streamingChunkSize 5000 Number of rows per chunk when streaming mode is enabled. Larger chunks are more efficient but use more memory.

#High-impact groups

  • justybase.query.* controls fetched row limits and execution timeouts.
  • justybase.results.* controls result retention, SQLite spill, formatting, and export display values.
  • justybase.metadata.* and justybase.cacheTTL control catalog refresh and persistence. justybase.metadata.fullRefreshColumnConnections (1 by default, up to 8) controls the optional physical-session pool used only for the full-refresh column stage. justybase.metadata.popularDatabases (0–5, default 2) sets how many recently used databases are warmed with the active database, and justybase.metadata.liveFallback (never / onDemand / always) controls whether authoring may query the live catalog on a cache miss.
  • justybase.linter.* controls quality diagnostics and severity.
  • justybase.copilot.*, justybase.mcp.*, and justybase.ai.tools control AI availability, context, privacy confirmation, and per-surface tool access. Read-only is the default for every surface.
  • justybase.importWizard.* controls preview and background validation.

Use the exact keys in the generated table. The current query controls are justybase.query.rowLimit and justybase.query.executionTimeout.