Skip to content

Excessive Output in Debug Console Despite Disabled Logging (I don't #635

@bathindahelper

Description

@bathindahelper

Extension Name: AHK++
Version: v6.6.0
VS Code Version: v1.98.2
Operating System: Windows11 22H2 (Build 22621.1992)

Description of the Issue
When opening an AutoHotkey v1 script in Visual Studio Code with the AHK++ extension enabled, the debug console outputs hundreds of lines of logs related to file indexing and script building. This happens even though all logging, indexing, and output-related settings have been explicitly disabled in the settings.json file.

The issue persists despite the following settings being applied:

{
    "ahkplusplus.logLevel": "none",
    "ahkplusplus.showOutput": false,
    "autohotkey.plus.plus.trace.server": "off",
    "autohotkey.plus.plus.enableDebug": false,
    "autohotkey.plus.plus.index.workspace": false,
    "autohotkey.plus.plus.disableAllFeatures": true,
    "autohotkey.plus.plus.disableIntelliSense": true,
    "autohotkey.plus.plus.disableDiagnostics": true,
    "autohotkey.plus.plus.disableIndexing": true,
    "debug.console.filterMode": "exclude",
    "debug.console.filter": ["*"]
}

Disabling the extension entirely stops the output, but this is not a viable solution as the extension is required for AHK v1 support in VS Code.
Steps to Reproduce:

  1. Install the AHK++ extension in Visual Studio Code.
  2. Apply the above settings in settings.json to disable logging, indexing, and output.
  3. Open an AutoHotkey v1 script in VS Code.
  4. Observe the debug console output.
  5. Expected Behavior
  6. No output should appear in the debug console when all logging, indexing, and output-related features are disabled.

Actual Behavior
The debug console outputs hundreds of lines of logs, including messages like:
pathsToBuild.exclude.folder:
pathsToBuild.exclude.file:
pathsToBuild checking root l:\Bagg\AHScripts
pathsToBuild opened root l:\Bagg\AHScripts
Building included paths:
(none)
buildPaths(0 paths)
buildScript document.uri.path: /l:/Bagg/AHScripts/.vscode/v1.ahk
buildScript script: {"funcDefs":[],"labels":[],"funcRefs":[],"variables":[],"blocks":[],"includedPaths":[]}

Metadata

Metadata

Assignees

Labels

enhancementnew feature or requesthygieneengineering hygiene, best practices, internal dev loop, etc.

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions