Author Topic: CodeBlocks is managing placeholders in different mode. Why  (Read 772 times)

Offline rechtsanwaltsteyer

  • Multiple posting newcomer
  • *
  • Posts: 20
CodeBlocks is managing placeholders in different mode. Why
« on: July 29, 2025, 03:11:42 pm »
Hello everyone,
Since version 20.03 and also in the current version 25.03, I have an unsolvable problem:
1. If I enter a placeholder under Settings/Editor/Code Specification, such as "$(NOW_L)", the current date and time is displayed in the subsequently generated single file (*.cpp/*.h).
2. However, if I enter the same placeholders in /usr/share/codeblocks/templates/wizard/console/cpp/main.cpp, when generating a new project, "$(NOW_L)" is displayed in main.cpp instead of the current date and time.
My question: Why this different treatment of "$(NOW_L)?"
Thank you in advance!
Michale
Greatings
Georg Michael Steyer, Rechtsanwalt