OK i found a way... maybe you know a better way so tell me
i use now Settings>Editor>Abbveritations
u add a new Abbveritation
and enter some text like that
/* SOURCE HEADER
****************************************************************
Project name: $PROJECT_NAME
File name: $ACTIVE_EDITOR_STEM
File extension: $ACTIVE_EDITOR_EXT
Description: $(Description)
Date: $WEEKDAY $NOW_L
Author: $(Author_Name)
Contact:
Mail: $(Author_e-mail)
Website: $(Author_website)
Licence:
Just run it and enjoy!
Feel free to copy and share!
Dont do any bussines with that!
If you reuse or use it to do business,
the author of this code will get 100% of your income!
Agree with that or close the file now and delete it.
****************************************************************
*/
|it will ask me for a File description, my name, my email and my website
it will automaticaly fill out the Porject name, the file name, the file extension, Day name, Date and time
and the text as it is
i did try to use $ACTIVE_EDITOR_STEM.$ACTIVE_EDITOR_EXT somehow this is not working, its ignoring everything before the dot
i did also try $ACTIVE_EDITOR_STEM but this did return the whole file path
so i did two entries, one for file name and one for the extension
now i can open a new file and write the name of the abbrevation in example FHEAD and then press control+J so it will ask some questions and fill in the FHEAD
this will then look like that....
/* SOURCE HEADER
****************************************************************
Project name: Test
File name: TestFile
File extension: c
Description: A test file to test things
Date: Monday 2010-02-08-19.51.22
Author: Me
Contact:
Mail: me@mailer.net
Website: http://www.somewhereintheinternet.net
Licence:
Just run it and enjoy!
Feel free to copy and share!
Dont do any bussines with that!
If you reuse or use it to do business,
the author of this code will get 100% of your income!
Agree with that or close the file now and delete it.
****************************************************************
*/
if there is a better way you can tell me