Perforce QAC Settings (using JSON)

The settings for the Perforce QAC extension can be altered directly by modifying the VS Code settings .json configuration file.

  1. Open the command palette ([Ctrl]+[Shift]+P).
  2. Type "open settings".
  3. When you are presented with options, choose Open User Settings (JSON).
  4. Windows:

    Windows %APPDATA%\Code\User\settings.json

    Linux:

    Linux $HOME/.config/Code/User/settings.json

The following shows the available Perforce QAC keys and example values:

"perforceStaticAnalysis.activeToolSelection": "QAC",

"QAC SystemProperties.QAC ToolsLocation": "C:\\Perforce\\QAC-2024.2",
"QAC SystemProperties.displayQAC AnalysisResultsWhenWorkspaceLoaded": "on",
"QAC SystemProperties.loggingLevel": "debug",
"QAC SystemProperties.AutomaticAnalysis": false

Refer to Perforce QAC Settings for more information about each key.