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

Update @var snippet to match spec #106

Open
skoskie opened this issue Mar 14, 2019 · 1 comment
Open

Update @var snippet to match spec #106

skoskie opened this issue Mar 14, 2019 · 1 comment

Comments

@skoskie
Copy link

skoskie commented Mar 14, 2019

Spec: @var [“Type”] [$element_name] [<description>]

Current Snippet: @var ${1:mixed}

Proposed Snippet (untested): @var ${1:type} $${2:var_name} ${3:description}

@smileBeda
Copy link

I am wondering why it is not possible to customise the var further than what is currently possible. It does not even accept custom strings, not to speak of variables.

The proposed snippet unfortunately does not work (as it is not supported)
It just defaults to @var [type] YOUR_CUSTOM_DESC_STRING

@neild3r - any hint on how we can achieve it?
I tried a bunch of stuff inclusive regex, which all simply does not work/is not accepted/considered by the var tag in the extension :(

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