"full name of the current user" is empty

I would like to create a live template as follows:

// TODO $TODAY$ $AUTHOR$

expecting to expand to something like

// TODO 2018-01-22 foo

with "foo" being my current windows username

Actual result:

// TODO 2018-01-22

--> $AUTHOR$ resolves to nothing although declared as "Full user name of the current user"

 

Any ideas?

0
3 comments

Hello Christian!

 

Could you please check your Windows user has a Full Name here: Start | Type "lusrmgr.msc" | Open it | Local users and groups | Users | "Your user name" | Double click on it | Full Name?

Thank you.

0

Great, that solves it on my PC ;-)

Is it also possible to expand a live template to the windows environment variable %USERNAME%, as this is guaranteed to be present on all developer machines?

0

Hello Christian!

 

 

"Short name of the current user" macro should work for you in this case.

Thank you.

0

Please sign in to leave a comment.