ManuelGil/vscode-moodle-snippets

Is there a way to define the variables when creating a new PHP file?

Opened this issue · 2 comments

neomib commented

Hello,
I would like to set a value for {CURRENT_YEAR}, {author_fullname} and {author_link} so that when I create a PHP file it will be filled automatically. Is there a way to do it?

Hi @neomib,

I had not thought of that possibility.

At the moment I wouldn't have but I will try to add it in a future update.

I appreciate your comments.

Good news,

I have added configuration variables to achieve the autocompletion you commented.

image

I appreciate your suggestion and hope it will be helpful.