Skip to content

Snippet variables not detected after double backslash #158

@maxlorenz

Description

@maxlorenz

In a LaTeX snippet, it is not possible to declare a variable after a double backslash.
Example:

    "section": {
        "prefix": "sec",
        "body": [
            "\\${1:sub}section${2:*}{${3:label}}",
            "\n\t$4"
        ],
        "description": "Start a subsection"
    }

expands to

    \${1:sub}section*{label}

Metadata

Metadata

Assignees

Labels

*questionIssue represents a question, should be posted to StackOverflow (VS Code)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions