Sublime Forum

How can i edit New code segment

#1

Chinese, sublime3, i dont konw how to edit new code segment, check this code down plz,thanks

<snippet>
    <content><![CDATA[
```python
${1:}

]]>

mcpy

<content><![CDATA[
${2:}

]]>

mcp


how could i edit my code to use mcpy and mcp in a file.
my English is not good ,dont laugh at me ,thanks。

0 Likes

#2

you can only have one entry/content per snippet file, you will need to create two snippet files:

  1. for mcpy
  2. for mcp
0 Likes

#4

eh,i want to use 1 file ,is it possible?

0 Likes

#5

it seems impossible.

0 Likes

#6
0 Likes