Skip to content

Ignore Backup Folder Created by Tidy to Prevent False Error Reports #235

@IronJosie

Description

@IronJosie

Hi,
I’m using the AutoIt extension for VS Code, and the built-in language server is very helpful because it shows syntax errors without running the script. However, I’m running into a problem when using Tidy.

Whenever Tidy formats a script, it creates a backup file in a Backup folder (e.g., FileName_old1.au3, FileName_old2.au3, etc.). The language server then analyzes these backup files as well, which leads to false error reports — especially when the script uses relative #include paths that are no longer valid inside the backup location.

Question:
Is it possible to configure the extension or language server to ignore certain folders (e.g., Backup) or specific file patterns (like _old.au3)? If not, would it be feasible to add such an option?

This would help avoid misleading error messages that come from automatically generated backup files.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions