What should the header extension of choice for C++2 files be? #1091
-
In C++ we usually use Posting here to gauge the consensus, and to discuss about what files the C++2 syntax highlighters should color. Relevant issue in the C++ syntax highlighter extension for VSCode: elazarcoh/cpp2-syntax#6 |
Beta Was this translation helpful? Give feedback.
Answered by
hsutter
May 31, 2024
Replies: 2 comments 3 replies
-
Currently we have .h2 |
Beta Was this translation helpful? Give feedback.
2 replies
-
As cpp2 is targeting module based compilation, aren't header files just a tempory workaround until compilers support modules properly?
On 30 May 2024 22:11:17 Isidoros ***@***.***> wrote:
That has been my impression from looking at the few cpp2 projects that exist.
—
Reply to this email directly, view it on GitHub<#1091 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AALUZQMUSYEA3SZVJ3KV2ZTZE6IXFAVCNFSM6AAAAABIRTUMPCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TMMJQGI4DO>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes,
.h2
is what I've been using. It would be easy to extend to support.hpp2
and.hxx2
, but I'd like to wait to see if there's real demand (e.g., that maybe it breaks some tools that only work with.hpp
or.hxx
?) before complicating it.