[Interest] QtCreator c++20 highlighting

Frank Mertens frank at cyblogic.de
Mon Feb 19 13:25:14 CET 2024


Hi Konstantin,

I'm here with QtCreator 12.0.1 and C++20 syntax highlighting works just fine.

Of course I had to enable it?! In CMakeLists.txt that is done with:
set(CMAKE_CXX_STANDARD 20)

Best regards,
Frank


-- 
Frank

On 2/19/24 12:58, Konstantin Shegunov wrote:
> Hello,
> Are c++20 features (operators/keywords) supported with the QtCreator (10.0.2) highlighter?
> I'm asking because what I observe is that keywords like concept, consteval, requires are not recognised and have no highlighting. So I'm not sure if my version is old, the feature isn't supported, or it's a bug.
> 
> Note that I'm not talking about the clangd (clang code model), which picks up the features fine and hints appropriately in-editor, but only the source editor highlighting.
> 
> Kind regards,
> Konstantin.
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list