I have a few .asp
files that I want to edit with Sublime Text, however, I always have to change the syntax to PHP
under View -> Syntax -> PHP. Is there anyway that I can make Sublime Text automatically read it as PHP?
MacOS – Set sublime text to read .asp files as .php files (with php syntax)
macosPHPsublimetext
Related Question
- MacOS – How to setup Python3.3 and Sublime Text 2 correctly on OS X 10.8.2
- How to open files from Finder into existing instance of Sublime Text 2
- MacOS – How to use Sublime Text with the built-in Apple spellchecker
- MacOS – Opening text files from finder: Unable to find application
- IMac – Changing sublime text 3 icon in dock on Yosemite
- MacOS – Sublime Text doesn’t hide on startup
- Keyboard shortcut to open folder with Sublime Text
Best Answer
Go to View → Syntax → Open all with current extension as... and select PHP. Check the image below: