vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Creating a Header File in C++ Does Not Work

Open aaronshahriari opened this issue 6 years ago • 1 comments

Type: General

When creating a header file such as "header.h" it lists the file as a C file not a C++ file and therefore will not run the program. I do not know how to fix this and it is keeping me from running the programs properly.

Describe the bug

  • OS and Version: macOS Catalina
  • VS Code Version: VS 1.44.2
  • C/C++ Extension Version: 0.28.3
  • Other extensions you installed (and if the issue persists after disabling them): Code Runner
  • A clear and concise description of what the bug is.

To Reproduce Please include code sample and task.json files. Steps to reproduce the behavior:

  1. Go to '..'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Screen Shot 2020-06-19 at 5 49 35 PM

Additional context Add any other context about the problem here including log messages from the Output window.

aaronshahriari avatar Jun 19 '20 21:06 aaronshahriari

Interesting... This looks like a bug in vscode. Our extension doesn't pick the icons for files in the explorer. I installed a different icon pack and didn't see this problem: image

bobbrow avatar Aug 27 '20 21:08 bobbrow