Author Topic: Abbreviations not working in project notes  (Read 3745 times)

Offline ahagele

  • Single posting newcomer
  • *
  • Posts: 4
Abbreviations not working in project notes
« on: February 09, 2016, 01:47:35 am »
Is there a way to get the abbreviations to work in the Project Notes window. I would like to add a date/time stamp with the entries I put in there (mainly todo list) but the 'today' Crtl-J does not work here.
Any workaround available (apart from actually typing the date and time)?


Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Abbreviations not working in project notes
« Reply #1 on: February 11, 2016, 09:13:34 pm »
Hi,
this would be a cool idea...
I have looked into it, but there is no api to the plugin interface, to implement this straight forward... I gave some ideas regarding this issue, but at the moment no time to work on this...

For the moment your best choose would be to use a note.txt in your project...

You can open a feature request on sf, so it won't get lost here...

greetings

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Abbreviations not working in project notes
« Reply #2 on: February 11, 2016, 11:43:40 pm »
You know what:
i have made a patch. It does not use the abbreviation plugin, but the macro replacement. So you can enter one of this macros: http://wiki.codeblocks.org/index.php/Variable_expansion press ctrl+j and it will replace all macros in the control with the appropriate values...

This will probably get lost here, but it was easy and fast to implement...

greetings