Skip to content

What are the available variables? #237

Description

@smileBeda

The doc says that the php-docblocker.extra may be an array of extra tags to add to each DocBlock (These can include tabstops and snippet variables)

So I created

"php-docblocker.extra": [
		"myvar ${1:name}"
	],

returns myvar Undefined variable

Is there a list somewhere of available variables?

The end goal in this case is to create a proper var tag that has this appearance @var [type] [name] [desc], or a (missing) access tag


Update

I realise these are not variables but placeholders. So the question I guess would be "how can we create our own dynamic placeholders or variables.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions