Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added file is not included in c++ project automatically. #112

Open
IceFox99 opened this issue Feb 10, 2022 · 1 comment
Open

Added file is not included in c++ project automatically. #112

IceFox99 opened this issue Feb 10, 2022 · 1 comment

Comments

@IceFox99
Copy link

IceFox99 commented Feb 10, 2022

Installed product version

  • Visual Studio Community 2022 Version 17.0.6
  • This extension: 4.1.8

Description

Added file is not included in c++ project automatically.

Steps to reproduce

  1. Open a c++ project file in text editor.
  2. Press Shift + F2 to add a new file.

Expected behavior

You can see the added file in the solution explorer immediately, and this file is included in this project automatically.

Actual behavior

In the solution explorer, you can't see this file untill you Refresh the solution explorer. At the same time, it's not included in this project, so you have to right click the file and Include in project manually.

Supplement

This extension (VS 2019 version 3.5.160) works okay with every Visual Studio Community 2019 Version.

@nitz
Copy link

nitz commented Mar 20, 2022

I just moved to VS2022 and am running into a similar issue to this as well. I actually get an error message after hitting add: "A file with the name x:\path\to\the\newfile.h already exists on disk."

VS Enterprise 2022 17.1.1
Extension 4.1.8 via marketplace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants