News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

C17 and C++20 highlighting kit

Started by nowhereman, May 27, 2021, 03:16:06 AM

Previous topic - Next topic

nowhereman

Hello everybody. I've created a small kit to generate text for the Set 1 and Set 2 "Keywords..." in the editor settings.

It would be nice if the next version of Code::Blocks would render this kit obsolete.  ;)

Attached to this post should be the relevant .ZIP file.

BlueHazzard

Hi, thank you for your work,
Can you add a ticket on SourceForge? It probably will get lost in the forum....

nowhereman

Version 2

  • [cpp20] renamed "lib_ostrem.txt" to "lib_ostream.txt" and updated script
  • [cpp20] updated "lib_iosfwd.txt"
  • [cpp20] updated "lib_version.txt"
  • [c17] updated "lib_inttypes_h.txt"
  • [c17] updated "lib_stdlib_h.txt"

Quote from: BlueHazzard on May 27, 2021, 09:02:31 AM
Can you add a ticket on SourceForge? It probably will get lost in the forum....
It's OK. I believe the forum is where this topic belongs, considering that the kit is geared more towards regular users than developers.
Also perhaps it is for the better if overzealous highlighting doesn't get into vanilla Code::Blocks. Even I have doubts if identifiers such as arg or size should be included.

oBFusCATed

Nope, it is really bad idea to use "stupid"/plain textual highlighting for such things.
The one currently in C::B are bad enough we don't need more of these. :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

nowhereman2

Version 4

  • added [c90] for ISO C90, aka ANSI C89, aka ANSI C standard
  • added [cpp98] for ISO C++98 standard
  • [c17] updated "lib_stdlib_h.txt"
  • [c17] updated "lib_string_h.txt"
  • [cpp14] updated "lib_algorithm.txt"

Version 3

  • added [cpp14] for ISO C++14 standard
  • [cpp20] renamed "lib_coroutines.txt" to "lib_coroutine.txt" and updated script
  • [cpp20] lib_ostream: corrected "no_emit_on_flush" to "noemit_on_flush"