Not Updated of Code Templates for Python Module Header

29 views
Skip to first unread message

Gkhn Cngz

unread,
Apr 17, 2025, 9:51:09 AMApr 17
to PyScripter
Hi,

I have just started use Pyscripter.
 
I updated Code Templates for Python Module header (hdr)

But When I insert with CTRL+J, it was not included variables as new file.
And how can I update new file header?

Not Update Module Header.png

Thanks.

PyScripter

unread,
Apr 17, 2025, 9:54:22 AMApr 17
to PyScripter
For the code template, did you press the Update button before pressing OK?
You can change the template for new python modules using Tools, Options, File Templates...

Gkhn Cngz

unread,
Apr 17, 2025, 12:30:45 PMApr 17
to PyScripter
Thanks for your interest.
I used File Templates. That is Ok. 
But still Code Template is still unfilled

# Name: $[ActiveDoc-Name] 
# Purpose: # Author: $[UserName] 
# Created: $[DateTime-'DD/MM/YYYY'-DateFormat] 
# Copyright: (c) $[UserName] - $[DateTime-'YYYY'-DateFormat]

Have a nice day.



17 Nisan 2025 Perşembe tarihinde saat 16:54:22 UTC+3 itibarıyla PyScripter şunları yazdı:

PyScripter

unread,
Apr 17, 2025, 12:38:13 PMApr 17
to PyScripter
Created an issue.   Code templates are not expanded on insertion · Issue #1382 · pyscripter/pyscripter.
In the meantime you can select the inserted template and use Edit, Parameters, Replace parameters to expand the template.
Reply all
Reply to author
Forward
0 new messages