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

Add file extensions for C++20 module interface units #214800

Merged
merged 1 commit into from
Jun 11, 2024

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.

@VSCodeTriageBot VSCodeTriageBot 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
6 checks passed
bricefriha pushed a commit to bricefriha/vscode that referenced this pull request Jun 26, 2024
Add file extensions: C++20 module interface units
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants