PHP Tools for Visual Studio do support CSS language in .php files. If there isn´t any, the issue must be somewhere else. You can find more information at http://www.devsense.com/doc/phptools/editor/html-editor.
Please send us email to email@example.com we´ll help you solve that.
I installed several extensions from this site and they all worked flawlessly in the background. EXCEPT for PHP Tools for VS. As soon as I started VS after installing I got an obnoxious message about registering, etc.
I immediately decided to uninstall PHP Tools so I went to Tools->Extensions and Updates and selected PHP Tools but guess what? The uninstall button doesn't work! The other extension's uninstall buttons work fine but PHP Tools uninstall button does nothing when I click it.
Now I have to search the web to figure out how to manually uninstall a VS extension.
I really appreciate PHP Tools for visual studio 2012 (i use the registered version of PHP tools), but there is something missing at my sense wich make me rate it 4 stars instead of 5. When i set my project as a PHP project, i can't update server on a per file basis wich is an issue for me when working on large projects. On other hand when setting my project as a web application, i can't add a new php document (or any document provided by php Tools) to the project but have to create a html document to rename it with php extension, then close it and reopen it.
Since 1.13 we do support publish on per file bases. And even publishing/updating whole projects should be faster now, especially if "Skip remote files check" is turned on.
About new php document template in Web Application. That is quite normal, as in VS you see only files in language you are using. e.g. you won't find Visual Basic templates there.
There are two other options what you could do: 1.) Ctrl+N > PHP > PHP script and then File | Move file.php to Your project.
2.) or nicer way. You can create your own project template. Just create php file and go to FILE | Export template ( http://msdn.microsoft.com/en-us/library/tsyyf0yh.aspx ) . Then you can find your php template in web application projects.
This is perfect. It feels like Microsoft shipped this together with VS, it integrates completely seemlessy into Visual Studio, from visual to technical. Setting up debugging is also not too hard. Finally PHP makes fun!
This is actually a feature which is turned on by default now. UTF8 BOM causes incorrect php page rendering. Anyway you can turn it back on in Tools | Options | Text Editor | PHP | Advanced | Override PHP files encoding .
Hmm, apparently I don't get email notifications when there is a reply, hence the slow reply.
The preview version seem to help with go to definition on class methods again. But,what I can't do is go to a class directly... For example with the line...
- I can go to definition on instance()
- IF in the PHPDoc instance() returns PermissionTable I can go to foo()
- I cannot go to definition on PermissionTable though, whereas before I could
May I ask you if you have any other extension for PHP development?
Also if you navigate to "Help" menu, do you see "PHP Tools for Visual Studio" and "PHP Tools for Visual Studio Feedback" commands? If so, please use the Feedback to send us more information about your configuration (more at http://www.devsense.com/doc/phptools/troubleshooting/feedback) and we'll respond to you asap.
when i install PhpTools.1.13.5416.msi, after choosing vs 2013 ,a dialog show that A DLL required for this install to complete could not be run, how to solve it ? my os is win 8.1 , ide is vs 2013 update 2
I've never experienced this, but it seems there is similar problem with other msi files. Could you please try what they suggest here to see if it has any impact? https://www.youtube.com/watch?v=KikshWVWhzg
Downloaded and installed extension on 2014-08-04 to try your software. The installation into VS 2010 was successfully completed but something is wrong: within the VS Extension Manager, the extension shows up as but is disabled. The date installed indicated is 7/21/2014 (even though I installed it on August 4 2014). The buttons to [ENABLE] and [UNINSTALL] are also both disabled.
OS: Windows 7 SP 1
PHP Tools for VS 1.13.5416
PrintScreen at http://snag.gy/Qnz5R.jpg
What's going on?
I've read your documentation on Installation/Activation at http://www.devsense.com/doc/phptools/installation/activation, but that was not helpful to me; when I start VS, I am not prompted with the option to begin trial or activate so the product is stuck on Disabled. Help please.
Thanks for trying our tools. Buttons Enable,Disable should be disabled since the extension can be uninstalled from Control Panel and not from Extension Manager.
To identify the issue, please send us your ActivityLog.xml file as described at http://www.devsense.com/doc/phptools/troubleshooting/activitylog-xml
Also you can try to reinstall the extension first.
I'm sorry I missed your reply because after waiting a couple of days, I stopped checking for it. I have just sent you the activity log you requested from a guerrillamail.com email address to firstname.lastname@example.org. Hope you can help.
Thank you for the log file. The extension has been disabled in your registry (or the installation process failed to enable it).
Did you try to reinstall the extension or repair it (in Control Panel / Programs and Features)?
Please check whether there is an entry in your registry (run regedit.exe), under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\ExtensionManager\EnabledExtensions, with value "C:\Users\***\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\DEVSENSE\PHP Tools for Visual Studio 2010 ***\"
Thanks for trying to help. I tried to follow your instructions.
I uninstalled and reinstalled the add-on several times with no change. I find it strange that it shows install date of July 21 2014 even though I first installed it on August 4. Where is the July date from??
I ran the Repair several times from Control Panel/Programs and Features with no change.
I don't know whether I added the info to the registry correctly. Please look at screenshot http://snag.gy/zPnki.jpg. I did not create a new folder, but I added an entry to the ExtensionManager folder with name=EnabledExtensions and Data=C:\Users\Patrick\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\DEVSENSE\PHP Tools for Visual Studio 2010 1.13.5416\. This made no difference either. The tool still shows up as Disabled when I launch VS 2010
Your tool looks really interesting but it doesn't work on my machine. thank you for making a trial version available so I can discover this problem without paying for the product.
The registry has to look like this
Without this registry value, the extension won't load for sure.
Please let me know if there would be any more information about the issue. We'll try to find the cause of the issue and keep You informed in this thread.
Thanks again for your feedback!
Thanks for your feedback concerning publishing on a per file basis in v1.13, but still have a little issue with profiles. When i change publishing profile (to switch between production site and preproduction site) the change is taken into account only after a global publish has been done on the new selected profile. Save the profile selection change has no incidence on it.
Do you set breakpoints directly in js files or in embedded code in php files? Do you know the version which was working for you? And what VS version are you using? If you could send us email(to email@example.com) with this information we'll investigate this.
Thanks for your post! We're currently focusing on general purpose PHP features, as refactoring, improved Intellisense, ... However support for framework templates is next on the line.
Thanks so much!
I have downloaded php tools few days ago, but when I run my solution in vs2012 it shows a dialog to install PHP for IIS. When command prompt is launched, an error is shown in red and the window closes.
It also occurs in vs2013. Have you got any suggestion?
try to run the command to install PHP manually. First start command prompt as Administrator and then run:
webpicmd.exe /Install /Products:XDebugForPHP54ForIISExpress /Feeds:""http://api.devsense.com/webpi/1.0/webproducts.xml"" /AcceptEula && pause
You'll have chance to read the error. Please copy it here or send it to firstname.lastname@example.org, we'll help with this issue.
Hi, I had purchased a personal license which is valid till november 2014. It was for VS2013. Today I reinstalled windows and VS2013 and upgraded to Visual Studio 2013 Update 2. However, now I am unable to activate the product. Its getting installed nicely but activation process fails. A quick response will be great as I have a project to complete.