Skip to content

Config switch effects ​

Every extension setting with a visible effect, captured before/after by the automated screenshot pipeline (scripts/config-switch-gifs/): Xvfb + real VS Code + the packaged extension, switch off → screenshot, switch on → screenshot, ffmpeg-stitched animation. The pipeline is rerunnable and doubles as a regression test — a switch whose effect breaks produces identical frames and fails the run. Switches without a static visual face are listed for manual verification at the end.

Regenerate this page: python3 scripts/config-switch-gifs/render_docs.py

This page is generated from switches.json + manifest.json; do not edit by hand.

Diagnostics ​

Real-time syntax diagnostics (kbengine.enableDiagnostics) ​

With it off, .def files are no longer checked live: red squiggles and Problems panel entries disappear

OffOn
Real-time syntax diagnostics offReal-time syntax diagnostics on

Animation: Real-time syntax diagnostics

Duplicate definition check (kbengine.diagnostics.checkDuplicateDefinitions) ​

When on, a property/method declared twice in the same .def is flagged as a duplicate-definition Warning

OffOn
Duplicate definition check offDuplicate definition check on

Animation: Duplicate definition check

.def structure validation (kbengine.enableStructureDiagnostics) ​

Structural issues (duplicates, misplaced tags, missing fields) are flagged

OffOn
.def structure validation off.def structure validation on

Animation: .def structure validation

Hover ​

Hover tag docs (kbengine.hover.showTagDocs) ​

Hovering a .def tag such as <Flags>/<Type> pops a card explaining what the tag means

OffOn
Hover tag docs offHover tag docs on

Animation: Hover tag docs

Hover value docs (kbengine.hover.showValueDocs) ​

Hovering a value like BASE_AND_CLIENT pops a card explaining where that flag propagates

OffOn
Hover value docs offHover value docs on

Animation: Hover value docs

Hover Implemented-By (kbengine.hover.implementedBy) ​

Hovering a def method shows where the script implements it (Implemented-By backlink, file:line)

OffOn
Hover Implemented-By offHover Implemented-By on

Animation: Hover Implemented-By

CodeLens ​

RPC method CodeLens (kbengine.codeLens.rpc) ​

An RPC marker CodeLens appears above the implementing method of a def-declared RPC in entity scripts

OffOn
RPC method CodeLens offRPC method CodeLens on

Animation: RPC method CodeLens

types.xml storage mirror CodeLens (kbengine.codeLens.typesXml) ​

A storage-mirror CodeLens (reference back-scan) appears above type declarations in types.xml

OffOn
types.xml storage mirror CodeLens offtypes.xml storage mirror CodeLens on

Animation: types.xml storage mirror CodeLens

Event callback CodeLens (kbengine.codeLens.eventCallbacks) ​

An event-callback marker appears above event handler functions in Python scripts

OffOn
Event callback CodeLens offEvent callback CodeLens on

Animation: Event callback CodeLens

Property marker CodeLens (kbengine.codeLens.property) ​

A property marker CodeLens appears above self.<property> accesses

OffOn
Property marker CodeLens offProperty marker CodeLens on

Animation: Property marker CodeLens

Removed: process-ownership CodeLens (kbengine.codeLens.processOwnership) ​

The file-top process-ownership CodeLens and its setting were removed (PROC-BREADCRUMB-001, 2026-11-18): the breadcrumb synthetic root carries the same information permanently in view, so the lens was duplicate display. The decision chain (src/backend/processOwnershipLens.ts) and the base↔cell switch commands stay; removing the setting leaves no dead switch.

Inlay hints ​

Property type inlay hints (kbengine.inlayHints.typeData) ​

Inline : <type> hints at self.<property> accesses, from the def/types.xml declaration

OffOn
Property type inlay hints offProperty type inlay hints on

Animation: Property type inlay hints

def parameter inlay hints (kbengine.inlayHints.defParams) ​

Unannotated parameters of methods declared in def script sections get inline type hints

OffOn
def parameter inlay hints offdef parameter inlay hints on

Animation: def parameter inlay hints

Builtin property inlay hints (kbengine.python.builtinTypeInlayHints) ​

Inline : <type> hints after self.<builtin property> accesses such as self.id

OffOn
Builtin property inlay hints offBuiltin property inlay hints on

Animation: Builtin property inlay hints

Panels ​

Call chain panel initial view (kbengine.python.callChainView) ​

The Show Call Chain panel opens as a mermaid graph (graph) or as plain text (text)

textgraph
Call chain panel initial view offCall chain panel initial view on

Animation: Call chain panel initial view

Auto-open final config on activation (kbengine.showFinalConfigOnOpen) ​

On, the merged final-config view opens in a background preview tab at activation (path derived from binPath; silently skipped if not found); off, it does not open

OffOn
Auto-open final config on activation offAuto-open final config on activation on

Animation: Auto-open final config on activation

Call chain entry hints (kbengine.python.callChainHints) ​

A Call Chain hint shows at method entries; off also disables Show Call Chain previews

OffOn
Call chain entry hints offCall chain entry hints on

Animation: Call chain entry hints

Manual verification list ​

These switches have no single static screenshot face: the effect is behavioral (writes files, wires tooling, gates actions inside panels) or only visible mid-interaction. Verify them by following the effect description; the screenshots above deliberately exclude them.

SettingEffect
kbengine.runtimeQuery.enabledOff, the panel opens but stream toggles report "stream disabled"; on, stream toggles work
kbengine.hover.showSymbolDocsHovering a custom property/method name shows its summary
kbengine.hover.typeStorageHovering a custom type in types.xml shows its storage table/column/type info
kbengine.hover.eventStatsHovering an event constant shows registration/listener stats
kbengine.hover.createNamespaceTimelineHovering a Python __init__ declaration shows the createNamespace timeline with engine source citations
kbengine.hover.serverConfigHovering a kbengine.xml entry shows its resolved value and docs
kbengine.hover.startupScriptHovering KBEngine startup args/env vars in .sh/.bat scripts shows their docs
kbengine.hover.returnTypeInferenceHovering a local variable infers its type from function annotations
kbengine.hover.entityRegistrationHovering an entity class shows its entities.xml registration (Utype/index position)
kbengine.hover.defChainHovering a def property/method shows its declaration chain (file and section origin)
kbengine.autoRefreshFinalConfigThe final-config view recomputes itself when the engine config files change
kbengine.generator.generatePythonWhether the entity generation wizard also writes the Python entity file
kbengine.generator.registerInEntitiesXmlWhether generated entities are auto-registered in entities.xml
kbengine.entity.methodStubBodyGenerated implementation skeletons get a pass body or raise NotImplementedError
kbengine.jsoncAssociationOn activation writes a files.association mapping debug.json to jsonc into workspace settings
kbengine.python.extraPathsSyncWrites the KBEngine scripts root into python.analysis.extraPaths
kbengine.webviewConsoleLogsWebview console errors are captured into the log panel (internal behavior)
kbengine.index.syntaxGateWith it on, saved reindexing passes a bracket/quote/indent precheck: a file saved mid-edit with broken syntax stays out of the index and the last healthy symbols are kept (skip count visible in the status tooltip); off restores the old behavior where broken files are indexed as-is
kbengine.folderColors.enabledWith it off, the semantic file badges in the Explorer (assets A / venv V / docs D / configs C / logs L / process colors under scripts) and the entity tree's colored group icons all disappear; turning it back on also requires a KBEngine theme family colorTheme (dual gate)

Kode documentation