Settings reference

Lineward works with no configuration. These are the editor settings that change what it does, each under the feature it belongs to, with its default. Set them in VS Code’s settings, per user or per workspace (.vscode/settings.json), or for the whole team in lineward.toml — all but the editor preferences marked Editor only.

One file for the team: lineward.toml

A committed lineward.toml, at the project root, gives the editor, lineward check on a laptop and CI the same settings. For each setting it wins over the editor’s settings, which win over the default; the two severity maps, the ordinary one and the one for disabled models, are merged code by code, and a list of patterns replaces the one below it whole. Its groups are tables and its keys keep the settings’ names. When lineward.toml and .vscode/settings.json give a setting different values, the line is flagged in lineward.toml (LW031).

For example:

[diagnostics]
onDisabledNodes = "breaking"   # a disabled model reports what would fail once it is enabled again

[diagnostics.severity]
LW010 = "error"    # an unresolved column fails CI
LW024 = "off"      # the project documents no output column

[diagnostics.disabledNodes.severity]
LW012 = "info"     # and its missing description, though dbt documents no disabled node

[diagnostics.columnDocs]
ignoreColumns = ["_fivetran_*", "_sdc_*", "dbt_*"]   # loader metadata
paths = ["models/marts/**"]                          # only the marts document their columns

A whole number outside its range takes the nearer bound, whichever file sets it. A key the file does not apply is warned of, and the rest of the file applies.

The editor preferences — and what the extension reads to start the server: the thread count, the MCP port, the discovery depth — are read from the editor alone: lineward.toml does not set them.

To see what is in effect, run lineward settings: the dbt™ the project is read as, 1.12 or 2.x, and where that comes from; every setting’s value and whether lineward.toml, the editor or the default set it; each code’s level on enabled and on disabled models, with the setting or the dbt™ line that decided it; and the settings that have no effect or disagree between the two files, each with a correction. It is free and changes nothing.

Diagnostics

lineward.diagnostics.severityFree
Each diagnostic code’s severity — error, warning, info or hint — or off. A code not listed keeps its own severity. The editor, lineward check (its threshold and exit code), CI and the MCP tools read the same value, and a change applies without restarting anything. The codes are listed on the diagnostics page.
In lineward.toml [diagnostics.severity]
lineward.diagnostics.onDisabledNodesFree
What the files of models and snapshots that enabled: false leaves out — directly, or through a var or a macro — report: all, every code; allButMissing, every code but those saying that a model dbt™ runs lacks something (a reader, documentation, tests, fixtures), which dbt™ never asks of a model it does not run; breaking, only the codes for which dbt™ or Snowflake would refuse the model once it is enabled again; none, nothing. Disabled nodes stay in the lineage either way. On such a file, a quick fix writes none into lineward.toml.
Default allButMissingValues all · allButMissing · breaking · noneIn lineward.toml [diagnostics] onDisabledNodes
lineward.diagnostics.disabledNodes.severityFree
Each diagnostic code’s severity on disabled models alone — error, warning, info, hint or off. A code listed here wins over the onDisabledNodes profile, off included; a code not listed follows the profile, at its ordinary severity. A code the ordinary severity map switches off stays off. On a disabled model’s file, a quick fix on a finding writes its code as off into lineward.toml.
In lineward.toml [diagnostics.disabledNodes.severity]
lineward.diagnostics.columnDocs.ignoreColumnsFree
Glob patterns of the output columns that the documentation checks, LW015 and LW024, never report, such as a loader’s metadata: ["_fivetran_*", "_sdc_*", "dbt_*"]. A pattern matches the whole column name, whatever its case. Empty, every column is judged.
Default emptyIn lineward.toml [diagnostics.columnDocs] ignoreColumns
lineward.diagnostics.columnDocs.pathsFree
Glob patterns of the model files that LW015 and LW024 report on, by their path from the project root, such as ["models/marts/**"] to hold only the marts to documenting every column. A pattern naming a directory covers every file below it. Empty, every model is judged.
Default emptyIn lineward.toml [diagnostics.columnDocs] paths

Analysis and navigation

lineward.analysis.columnLineageDepthFree + Pro
How many hops, one model each, a column’s lineage is followed: upstream for the origin chain its hover shows, downstream for Find References on it. Free names the column it comes from and lists the models that read it directly; Pro follows it up to this depth either way, and the hover also lists the columns the model reads outside its select list, to join, filter, group or sort its rows. Past the depth, the hover’s chain says it goes on, and Find References says so in a notification. Higher values cost time only where a column’s lineage is that long.
Default 10 · 1 to 50In lineward.toml [analysis] columnLineageDepth
lineward.hover.detailFree + Pro
How much a hover’s lists name. compact names three entries, then counts the others (+2 more), and shortens a chain of more than three steps to its ends; full names every entry and every step. Either way, a column hover ends with a link that opens its whole lineage on the lineage page.
Default compactValues compact · fullEditor only
lineward.tools.lineageDepthFree + Pro
How many hops along the project’s lineage the trace and the blast radius walk by default: their MCP tools, their commands lineward lineage and lineward blast-radius, and the editor commands that run them. A call overrides it with depth (--depth on the command line), and an answer the depth cut ends with a line that says so.
Default 20 · 1 to 50In lineward.toml [tools] lineageDepth
lineward.semanticHighlighting.enabledFree
Lineward’s semantic colouring of ref(), source(), macro calls, Jinja and Snowflake functions. Turn it off when another extension colours them; Snowflake functions then lose their colour. Open editors recolour without a restart.
Default trueEditor only
lineward.analysis.threadsFree
How many hardware threads the analysis runs on. 0 uses every one but one, so the editor stays responsive while a large project is analysed; a number from 1 uses that many, all of them when it is more than the machine has; -N leaves N free. --threads does the same on the command line. A change restarts the server.
Default 0Editor only

Lineage graph

lineward.lineage.maxNodesFree
The model count past which the lineage graph shows a banner suggesting Focus Mode, and lists a selected model’s columns only on demand; every model is still drawn.
Default 200 · 1 to 1000In lineward.toml [lineage] maxNodes
lineward.lineage.maxHopsFree
How many hops upstream and downstream the lineage of the current model (Focus Mode) draws.
Default 3 · 1 to 10In lineward.toml [lineage] maxHops
lineward.lineage.maxColumnEdgesPro
How many column links the column-level graph draws; past it, a column is traced on demand. 0 draws none.
Default 500 · 0 to 5000In lineward.toml [lineage] maxColumnEdges
lineward.lineage.maxFocusColumnEdgesPro
The same cap in the lineage of the current model (Focus Mode).
Default 2000 · 0 to 10000In lineward.toml [lineage] maxFocusColumnEdges

Project

lineward.profile.targetFree
The target of your dbt™ profile that relation names, target and env_var() render for, as dbt™ renders them. Empty keeps the profile’s own target:; [profile] target in lineward.toml, then DBT_TARGET and DBT_ENGINE_TARGET, override it. A change reloads the project. No credential is ever kept.
Default emptyIn lineward.toml [profile] target
lineward.workspace.maxDiscoveryDepthFree + Pro
How many folders deep Lineward looks for dbt_project.yml files, when the workspace opens and whenever one is created or deleted. It never looks inside installed packages, a hidden folder (.git, .venv) or a Python virtualenv, so the projects dbt™ ships inside an environment never count. Without a licence, one of the projects found is analysed, the one closest to the workspace root, and one notice says how many others are not; Pro analyses each against its own project. A change restarts the server.
Default 6 · 1 to 10Editor only

Editor and server

lineward.codeLens.enabledFree
Shows the Lineage lens above the first line of each model, snapshot, seed and installed package’s model, and the Compiled SQL lens above that of each model, snapshot, analysis, singular test and .sql unit test fixture. On the file of a disabled model, snapshot or singular test, a Disabled lens comes before them and opens the diagnostics settings.
Default trueEditor only
lineward.trace.serverFree
Traces the traffic between VS Code and the language server, in its logs; off is recommended in everyday use.
Default offValues off · messages · verboseEditor only
lineward.mcp.portPro
A local port on which the editor’s language server also serves MCP, sharing the project it already loaded. 0 keeps MCP off. It listens on 127.0.0.1 only and needs the licence key entered in the editor. A change restarts the server.
Default 0 · 0 to 65535Editor only

Each badge is the tier of the capability the setting tunes, from the product’s inventory: Free + Pro where that capability has a paid part. Commands — Show Lineage, Compiled SQL, the licence key — are in the command palette and the status bar menu, not here. Agents and the command line: agent setup, install the binary.