Sublime Forum

Dev Build 3111 there is a snippet parsing bug

#1

First of all, I’m sorry, I’m a PHP programmer in China, English is not very good, written using Bing translator.
The jQuery plugin
The following code:
<snippet> <content><![CDATA[\$.post('${1:/path/to/file}'${2:, {param1: 'value1'}}, function(data, textStatus, xhr) { ${3:/*optional stuff to do after success */} });$0]]></content> <tabTrigger>post</tabTrigger> <description>$.post()</description> <scope>source.js</scope> </snippet>
The nested
${2:, {param1: 'value1'}}

Although I can
${2:, {param1: 'value1'\}}
But many plugins are installed via ‘package install’, no way to modify them.

0 Likes

#2

Doesn’t look like a bug to me.

Where is this snippet from?

You can modify installed packages with https://packagecontrol.io/packages/PackageResourceViewer.

0 Likes

#3

okay, thank you!

0 Likes