Home Download Buy Blog Forum Support

"#embedded-code" error in tmlanguage file

"#embedded-code" error in tmlanguage file

Postby kjs3 on Tue Jul 26, 2011 7:49 pm

I'm trying to get the TM bundle for handlebar templates to work with Sublime Text and I'm getting the following error.

Error loading syntax file "Packages/drnic-Handlebars.tmbundle-3b928a2/Handlebars.tmLanguage": Unknown include #embedded_code

The line "#embedded-code" is in the tmLanguage file quite a few times and the embedded code would be javascript. Anybody know how to fix this?
kjs3
 
Posts: 3
Joined: Tue Jul 26, 2011 7:40 pm

Re: "#embedded-code" error in tmlanguage file

Postby guillermooo on Tue Jul 26, 2011 8:14 pm

#embedded_code looks like a reference to a repository item. In that case, you must make sure that there's such item in the <repository> element.
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: "#embedded-code" error in tmlanguage file

Postby kjs3 on Tue Jul 26, 2011 8:36 pm

It's all over the place in <string> tags but never as a key.
Is that important?
kjs3
 
Posts: 3
Joined: Tue Jul 26, 2011 7:40 pm

Re: "#embedded-code" error in tmlanguage file

Postby guillermooo on Tue Jul 26, 2011 8:40 pm

That's almost for sure why it's failing for you.
guillermooo
 
Posts: 729
Joined: Thu Jul 23, 2009 9:06 am

Re: "#embedded-code" error in tmlanguage file

Postby kjs3 on Tue Jul 26, 2011 9:58 pm

Any idea how to fix it? I've never created or even messed with a tmLanguage file or snippet before.
kjs3
 
Posts: 3
Joined: Tue Jul 26, 2011 7:40 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 16 guests