Skip to content

C/C++ extension is creating "<stdin>.s" files in toplevel folders. #10448

@petertorelli

Description

@petertorelli

Environment

  • OS and Version: Windows 10 Enterprise 22H2
  • VS Code Version: 1.74.3
  • C/C++ Extension Version: 1.13.9

Bug Summary and Steps to Reproduce

Bug Summary: Opening a folder with C code in it, with just the C/C++ extension installed, causes a file named ".s" to appear at the root folder. It reappears shortly after--without doing anything in the GUI--if I delete it.

Steps to reproduce:

  1. Create a new folder from the commandline.
  2. Cd to it & touch main.c
  3. Open the folder
  4. Wait a few seconds
  5. (Disabling C/C++ extension causes this not to happen).

Expected behavior:

Configuration and Logs

There is no `c_cpp_properties.json`. This is an empty folder except for main.c

Other Extensions

There are no other extensions installed.

Additional context

Here is a screenshot. The unicode characters are lessthan/greaterthan characters.

image

I uninstalled VSCode, deleted everything I could find under %HOME%/AppData named "vscode" or "cpptools", reinstalled, and it keeps happening.

If I delete the file, it reappears momentarily. If I turn off the extension this does not happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions