Sublime Forum

Multiple tmLanguage files in user packages under Ubuntu

#1

Hello all

I’m using ST3 Build 3065 under Ubuntu 12.04.

If I put a tmLanguage file into the folder “~/.config/sublime-text-3/Packages/User”, it gets detected and is shown in the language dropdown. If I put a second tmLanguage file, both won’t show up in the language dropdown. It doesn’t matter if I put them directly into the folder or each in a separate one.

Is there a known problem regarding this or do I miss somthing ?

Thanks in advance
Andreas

0 Likes

#2

Hey I hope you got the answer to this. In case someone else comes, here’s answer:

  1. In Sublime Text, Press “Ctrl + `” to view console; this is just to be able to see errors
  2. Click Preferences-> Browse Packages
  3. Create a folder with same name as the syntax file target, e.g. “Python”, “Ruby”, “FreeMarker” or etc.
  4. Copy/paste the Python.tmLanguage, Ruby,tmLanguage, or whatever it is to that folder.
  5. Should see a message “generating syntax summary” in the console
    Source: Sublime doesn't load my Typescript.tmlanguage file
0 Likes