Author Topic: missing highlight c++ keywords and distro updates  (Read 2647 times)

Offline Husky Ducky

  • Single posting newcomer
  • *
  • Posts: 1
missing highlight c++ keywords and distro updates
« on: September 25, 2026, 03:58:22 pm »
Hi,

I find out that the C::B doesn't have some c++ keywords highlighted like "print" and others. I've been adding in my list (settings->Editor->Syntax Highlighting->'button' Keywords).

How can I help you guys to send this adding to include to the next new version?

By the way, I'm using the KDE Fedora distro and the last update I had got from C::B is the version 25.03-7. I saw in the forums that there is a frequent release of nightly version. Isn't a good idea to publish a new version more frequently to the general public?

Offline NovaPixel27

  • Single posting newcomer
  • *
  • Posts: 1
Re: missing highlight c++ keywords and distro updates
« Reply #1 on: Today at 02:15:55 pm »
Hi, 
Just a small clarification: print is not a C++ keyword. std::print was introduced in C++23 as a standard library function (from the <print> header), so technically Code::Blocks' syntax highlighter should not treat print as a language keyword.
The same applies to many names from the standard library (vector, string, format, etc.). Adding them manually to the keyword list may give the desired visual result, but they are not C++ keywords.
If there are actual C++ keywords missing from the current Code::Blocks list (especially keywords introduced in newer C++ standards), it would be useful to list those specifically. Those would make sense to add to the default syntax-highlighting configuration.
Regarding Fedora packages and release frequency, distro package versions are generally a separate issue from Code::Blocks nightly builds. Nightlies are development snapshots, while distributions usually package stable releases according to their own update policies.