No highlight in <script>' tag while enabled PHP Tool
Posted: September 13th, 2018, 12:05 pm
Hi.
I am C#-beginner for 6-7 years, VS IDE is comfortable for me after this time.
I started learn PHP about 2 years ago, and these 2 years I used VS like notepad.
It has not Intellisense for PHP, but highlights JS-code in <script> tag.
Today tried to use Extension and got little trouble: after adding Tools, VS' default highlight for <script> tag in my *.PHP files was disabled, but added Intellisense.
How to combine JS-hightlighting and PHP-Intellisense.
My prefer VS-mode for PHP-project is "Open Folder".
From here
PS. I know this is not good programming habit - directly add JS in HTML/PHP
I am C#-beginner for 6-7 years, VS IDE is comfortable for me after this time.
I started learn PHP about 2 years ago, and these 2 years I used VS like notepad.
It has not Intellisense for PHP, but highlights JS-code in <script> tag.
Today tried to use Extension and got little trouble: after adding Tools, VS' default highlight for <script> tag in my *.PHP files was disabled, but added Intellisense.
How to combine JS-hightlighting and PHP-Intellisense.
My prefer VS-mode for PHP-project is "Open Folder".
From here
PS. I know this is not good programming habit - directly add JS in HTML/PHP