Home Download Buy Blog Forum Support

Sublime doesn't load my Typescript.tmlanguage file

Sublime doesn't load my Typescript.tmlanguage file

Postby GroZaV on Wed Oct 03, 2012 11:20 am

Hi,

I've just installed Sublime on my brand new Ubuntu 12.04 laptop.
Following the announcement of Typescript yesterday by Microsoft, I wanted to give it a try and, after installing the compiler and a build system, downloaded the Syntax Highlighting .tmlanguage file from MSDN (http://blogs.msdn.com/b/interoperabilit ... abled.aspx).

I created a Typescript folder in my Packages folder (not the Packages/User folder) and put the tmlanguage file in it.

However, the syntax file doesn't seem to load as I can't set the syntax to Typescript.

Anyone had the same issue with their file ?

Thanks a lot in advance,
GroZaV
 
Posts: 2
Joined: Wed Oct 03, 2012 11:14 am

Re: Sublime doesn't load my Typescript.tmlanguage file

Postby JohnnyHK on Thu Oct 04, 2012 9:59 pm

Same problem here on Ubuntu 12.04 with Sublime build 2220. .ts file aren't shown with any syntax highlighting and TypeScript doesn't appear as a 'Set Syntax' option.

Interestingly, it works fine on my Windows 7 x64 Sublime install (build 2219).
JohnnyHK
 
Posts: 2
Joined: Tue Jun 05, 2012 2:11 pm

Re: Sublime doesn't load my Typescript.tmlanguage file

Postby adzenith on Fri Oct 05, 2012 12:21 am

Ubuntu's filesystem is case-sensitive, whereas I believe that NTFS (Windows filesystem) is case-insensitive. Try renaming from .tmlanguage to .tmLanguage on Ubuntu?
adzenith
 
Posts: 1204
Joined: Mon Oct 19, 2009 9:12 pm

Re: Sublime doesn't load my Typescript.tmlanguage file

Postby JohnnyHK on Fri Oct 05, 2012 1:26 am

That did the trick! Thanks!
JohnnyHK
 
Posts: 2
Joined: Tue Jun 05, 2012 2:11 pm

Re: Sublime doesn't load my Typescript.tmlanguage file

Postby GroZaV on Fri Oct 05, 2012 12:05 pm

THanks a lot, I should have thought about it...
GroZaV
 
Posts: 2
Joined: Wed Oct 03, 2012 11:14 am


Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests