Skip to content

Conversation

@powersagitar
Copy link
Contributor

@powersagitar powersagitar commented Jun 10, 2024

Since C++20 introduced modules, some new file extensions are introduced alongside. For some of the new extensions, please refer to https://stackoverflow.com/a/76422027/20143641.

This PR adds the functionality for VS Code to automatically recognize source files with such extensions as C++ source files.

To test the changes, simply create a new file with extension:

  • cppm
  • ccm
  • c++m
  • cxxm

via VS Code file explorer and observe that C++ is automatically detected as the language.

This PR doesn't seem to resolve any issues.

@vscodenpa vscodenpa added this to the June 2024 milestone Jun 11, 2024
@aeschli aeschli enabled auto-merge (squash) June 11, 2024 09:24
@aeschli aeschli merged commit fc8e4df into microsoft:main Jun 11, 2024
bricefriha pushed a commit to bricefriha/vscode that referenced this pull request Jun 26, 2024
Add file extensions: C++20 module interface units
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jul 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants