Home php Sublime Text 3 - PHP Code Backlight

Sublime Text 3 – PHP Code Backlight

Author

Date

Category

Problem: When inserting a PHP code into an HTML document, PHP is not highlighted. Apply a screen. If this file is only with PHP, the code is normally highlighted (2 screen). You can somehow make the HTML and PHP in one file together have a backlight, maybe some need to install a plugin?

There is also a problem with the fact that Sublay often does not understand the code, it is also visible on 1 screenshot in red, although there are no errors there and everything works fine. Because of this, the problems of writing code appear when it starts 2 quotes to substitute instead of one closing, generally makes quotes with gray and dark that they are not visible at all. Can I fix it somehow too? Thank you in advance.


Answer 1, Authority 100%

Your file was determined as HTML – it can be seen in the lower right corner.

  • ctrl + shift + p
  • SS PHP – Full command: “SET SYNTAX: PHP”
  • enter

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions