Skip to Content
đźš§ WIP
Settings

VSCode VDF Settings

Settings for configuring the behaviour of VSCode VDF

filesAutoCompletionKind

vscode-vdf.filesAutoCompletionKind

Controls the behaviour of suggesting autocompletion file items.

incrementalall
Suggests folders and files in current directorySuggests files only, recursively, with nested files seperated by /
incrementalall

Default: incremental

teamFortress2Folder

vscode-vdf.teamFortress2Folder

Path to Team Fortress 2 folder

Used for referencing default TF2 files

Default: C:/Program Files (x86)/Steam/steamapps/common/Team Fortress 2

updateDiagnosticsEvent

vscode-vdf.updateDiagnosticsEvent

Controls when to update file diagnostics

typesave
Update file diagnostics in real time.Update file diagnostics when the file is saved.

Default: type

vtf

formats

exclude

vscode-vdf.vtf.formats.exclude

List of VTF formats to skip showing a warning for when opening a VTF file with a format that is currently not supported.

Possible List Values:

  • RGBA8888
  • ABGR8888
  • RGB888
  • BGR888
  • RGB565
  • I8
  • IA88
  • P8
  • A8
  • RGB888BlueScreen
  • BGR888BlueScreen
  • ARGB8888
  • BGRA8888
  • DXT1
  • DXT3
  • DXT5
  • BGRX8888
  • BGR565
  • BGRX5551
  • BGRA4444
  • DXT1OneBitAlpha
  • BGRA5551
  • UV88
  • UVWQ8888
  • RGBA16161616F
  • RGBA16161616
  • UVLX8888

Default: []

HUD Animations

format

insertNewlineAfterEvents

vscode-vdf.hudanimations.format.insertNewlineAfterEvents

Whether to insert a newline after events when formatting.


ValueExample
false
event HudHealthBonusPulse { Animate PlayerStatusHealthValue Fgcolor "0 255 0 255" Linear 0 0 } event HudHealthBonusPulseStop { Animate PlayerStatusHealthValue Fgcolor "255 255 255 255" Linear 0 0 }
true
event HudHealthBonusPulse { Animate PlayerStatusHealthValue Fgcolor "0 255 0 255" Linear 0 0 } event HudHealthBonusPulseStop { Animate PlayerStatusHealthValue Fgcolor "255 255 255 255" Linear 0 0 }

Default: true

layoutScope

vscode-vdf.hudanimations.format.layoutScope

Controls the scope to align tokens with when formatting HUD animations.

Default: event

tabs

vscode-vdf.hudanimations.format.tabs

Controls the number of tabs to insert after a token when formatting HUD animations.

Default: 1

suggest

enable

vscode-vdf.hudanimations.suggest.enable

Enable/disable autocomplete suggestions.

Default: true

popfile

format

insertNewlineBeforeObjects

vscode-vdf.popfile.format.insertNewlineBeforeObjects

Whether to insert a newline before objects when formatting.

Default: true

quotes

vscode-vdf.popfile.format.quotes

Whether to surround tokens with double quotes when formatting.

Default: false

tabs

vscode-vdf.popfile.format.tabs

How many tabs to insert between keys and values when formatting. -1 = Insert a single space

Default: 0

suggest

enable

vscode-vdf.popfile.suggest.enable

Enable/disable autocomplete suggestions.

Default: true

vscript

enable

vscode-vdf.popfile.vscript.enable

Enable/disable VScript language support.

Default: true

vdf

format

insertNewlineBeforeObjects

vscode-vdf.vdf.format.insertNewlineBeforeObjects

Whether to insert a newline before objects when formatting.

Default: false

quotes

vscode-vdf.vdf.format.quotes

Whether to surround tokens with double quotes when formatting.

Default: true

tabs

vscode-vdf.vdf.format.tabs

How many tabs to insert between keys and values when formatting. -1 = Insert a single space

Default: 1

suggest

enable

vscode-vdf.vdf.suggest.enable

Enable/disable autocomplete suggestions.

Default: true

vmt

format

insertNewlineBeforeObjects

vscode-vdf.vmt.format.insertNewlineBeforeObjects

Whether to insert a newline before objects when formatting.

Default: false

quotes

vscode-vdf.vmt.format.quotes

Whether to surround tokens with double quotes when formatting.

Default: true

tabs

vscode-vdf.vmt.format.tabs

How many tabs to insert between keys and values when formatting. -1 = Insert a single space

Default: 1

suggest

enable

vscode-vdf.vmt.suggest.enable

Enable/disable autocomplete suggestions.

Default: true

Last updated on