0

I am trying to create snippet where must be displayed the name of the current file

I tried to do this:

<content><![CDATA[Hello, this is a $file_name]]></content>

But it does not work

bek
  • 195
  • 5
  • 15

1 Answers1

0

I found the answer. I did it like this:

<content><![CDATA[Hello, this is a $TM_FILENAME]]></content>
bek
  • 195
  • 5
  • 15