Skip to content

How can I change the default boundary character #5

@Terence-Cheng

Description

@Terence-Cheng

My project's boundary character is '{/',but when I write the 'if', it becomes the '/{if} /{/if}'. I want the '{/if/} {//if/}'

Activity

g8up

g8up commented on Jul 20, 2017

@g8up

I got a solution:

	"if": {
		"prefix": "if",
		"body": "\n{/if $1/}\n\t$0\n{//if/}\n",
		"description": "",
		"scope": "text.html.smarty,source.smarty"
	},
  • reload your smarty extension
jens1o

jens1o commented on Apr 3, 2018

@jens1o
Owner

duplicate of #6
Patch will take place soon.

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @g8up@jens1o@Terence-Cheng

        Issue actions

          How can I change the default boundary character · Issue #5 · jens1o/vscode-smarty