Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi Short Cut to add Date and Name Comment

Does anyone know of a short cut to place my name and the date where the cursor is i.e.

 //021208 DarkAxi0m

so i don't keep check what the date is when i'm adding comments.

Im using Delphi7, with CnPack And GExperts Installed. I think it should be able to be done with one of those experts.

like image 460
Christopher Chase Avatar asked Dec 18 '22 09:12

Christopher Chase


1 Answers

I use GExperts to do this, like so:

in the

GExperts\Configuration

Select the Editor Experts tab.

In the list of experts, select

Insert Date\Time

Click on the configuration, insert the desired text:

'//' ddmmyy 'DarkAxi0m: ' //021208 DarkAxi0m:

After, to insert your new Date name comment all you need to do is:

ctrl+alt+a

I setup most programmers at the job like that.

like image 187
CheGueVerra Avatar answered Dec 27 '22 17:12

CheGueVerra