original source : https://stackoverflow.com/a/49950920
Just at first blush it seems like
EJS 2 might be the better first bet; it’s been more recently updated and is using the newer
sublime-syntax syntax format and seems to support more things. Take that with a grain of salt though, since I have no experience with either one.
You can select the command
Package Control: Install Package from the command palette and then select one of those packages to install it. If you’re going to try them both, do it one at a time and use
Package Control: Remove Package before installing the next one so that they don’t compete with each other.
If those commands aren’t in your command palette, you don’t have Package Control installed yet. In that case you can select
Install Package Control from the command palette to install PC first. If that doesn’t work there are also instructions on how to install it manually.
Once you have a package installed, you can close and reopen the file to apply the correct syntax, or use the menu as you mention in your question.