Skip to content

Auto-update tend to unintendedly update #30

@maximeB

Description

@maximeB

Hi,

When it comes to automatically update the include guard I only see those two settings:

  • C/C++ Include Guard: Auto Include Guard Insertion For New File (automatically insert the include guard when adding a new header file)
  • C/C++ Include Guard: Auto Update Include Guard (automatically update the include guard when renaming a file)

Considering there description I would like them both activated (which is the default), but it appears that the include guards are automatically updated even when I don't rename a file -- usually when I goto-definition (for the record I use clangd extension).

This creates unintended changes when I work on other projects than mine.

I suspect the "Auto Update Include Guard" to be the culprit, considering its name instead of the description, so I'll de-activate it, but I'd really like to use an auto-update when renaming a file.

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