How to add a new language syntax?
I am using a new CMS called Statamic with a template language called Antlers (html files) https://docs.statamic.com/antlers. I have a tmLanguage and YAML.tmLanguage file with the syntax from Sublime Text https://github.com/addisonhall/antlers-statamic-sublime-syntax. How can I get the custom template language syntax for Antlers into PHPStorm?
Please sign in to leave a comment.
Try to add them in File | Settings | Editor | TextMate Bundles
I am able to register the TextMate bundle, but how do I associate it with HTML files without messing up other sites that need HTML?
I never did get an answer on this. There is a great Atom and VSC plugin for Antlers. Any way to add the language to PHPStorm?
There's no straight way to add it there - it's necessary to create a separate plugin for it or file a feature request to the dev team.