# SublimeText LaTeXTools traditional builder not recognizing XeLaTeX

I have read this question, but I am using the traditional builder in LaTeXTools, and I have

%!TEX program = xelatex


in the beginning of my .tex file, but the builder is still compiling my file with pdflatex instead of xelatex, and I am getting the output

TraditionalBuilder: Engine: pdflatex. Invoking latexmk... done.


How could I force the builder to compile with xelatex instead?

In SublimeText you can select a different builder using the short cut Ctrl-Shift-B.
• How do I make the builder respect !TEX program, though? – ondra.cifka Apr 15 '18 at 9:12