User forums > General (but related to Code::Blocks)

missing highlight c++ keywords and distro updates

(1/1)

Husky Ducky:
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?

NovaPixel27:
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.

Queed2004:
Hi, thanks for pointing this out. I agree that keeping the C++ keyword list and syntax highlighting up to date would be helpful. You could report the missing keywords with the specific additions you made, so the developers can review and include them in a future release. More frequent stable releases could also make these improvements available to users sooner.


geometry dash breeze

Miguel Gimenez:
Spam reported to moderator.

Navigation

[0] Message Index

Go to full version