Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support variable such as CURRENT_YEAR used by friendly-snippets #68

Open
jmetz opened this issue Jun 27, 2024 · 2 comments
Open

Support variable such as CURRENT_YEAR used by friendly-snippets #68

jmetz opened this issue Jun 27, 2024 · 2 comments

Comments

@jmetz
Copy link

jmetz commented Jun 27, 2024

There are a bunch of common system variables that spring to mind, including date-time related, username, email, or perhaps even the result of a shell command.

@estin
Copy link
Owner

estin commented Jul 1, 2024

Hi! It can be implemented with some restrictions.
I don't use snippets heavily and don't know common standards for variables in snippets.
This is "standard": https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variables ?

@jmetz
Copy link
Author

jmetz commented Jul 1, 2024

Yeah that looks pretty comparable to other snippet systems I've used before 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants