No highlight in <script>' tag while enabled PHP Tool
3 posts
• Page 1 of 1
No highlight in <script>' tag while enabled PHP Tool
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
You do not have the required permissions to view the files attached to this post.
- safil94
- Posts: 1
- Joined: September 13th, 2018, 11:33 am
Re: No highlight in <script>' tag while enabled PHP Tool
Hello,
Thanks for the post.
That's strange, I've just tested it and seems to work fine. What VS and PHP Tools version do you have (I guess this one is the latest)?
Thanks,
Thanks for the post.
That's strange, I've just tested it and seems to work fine. What VS and PHP Tools version do you have (I guess this one is the latest)?
Thanks,
You do not have the required permissions to view the files attached to this post.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: No highlight in <script>' tag while enabled PHP Tool
I want to enable highlighting of the open/end html tag when selecting the end/open with the cursor - meaning, if you have the following sample:
.
.
.
<div id="div1">
</div> <!-- end of div1 -->
</div>
.
.
.
When putting the cursor next to the open tag div1, I want the end tag of this div is highlighted, and when putting the cursor next to the end tag of div1 the open tag of this div is highlighted.
How to enable this feature ?
.
.
.
<div id="div1">
</div> <!-- end of div1 -->
</div>
.
.
.
When putting the cursor next to the open tag div1, I want the end tag of this div is highlighted, and when putting the cursor next to the end tag of div1 the open tag of this div is highlighted.
How to enable this feature ?
Complete Guide About Cheap Car Insurance Quotes. Get Best Auto Insurance Quotes. Compare Insurance Companies in United States.
- honglei
- Posts: 1
- Joined: October 21st, 2018, 11:28 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 57 guests