How to change the template in Eclipse?

I"m going to write a template for PrintWriter
PrintWriter pw=new PrintWriter (${file});
because the usual File is named
with file, but ${file} itself is the tag of this file name
I don"t want to give up this modifiable way
what to do in this case

Mar.11,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c619-2c323.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c619-2c323.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?