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 .
Could you please write us on email@example.com or on http://support.devsense.com . We'll be happy to walk you through the process. Otherwise we also have debug troubleshooting section in documentation http://www.devsense.com/doc/phptools/debug/troubleshooting
Thank you for the feedback! - Could you please specify the situation when the program behaved in slow manner? We'll take a look into it (you can email us at firstname.lastname@example.org ). -F12 on include isn't conventional, because there are other methods to navigate to specific files. But we'll consider adding this feature in future. - You can uninstall the extension in same way as other VS extensions. Please follow the documentation on msdn: http://msdn.microsoft.com/en-us/library/ff852054.aspx - The extension is trial as specified in the description
Thank you for such a rating. PHP Tools for VS2013 is currently in preview version, but you can expect release very soon. For now you can download it from here http://www.devsense.com/products/php-tools/download/preview
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.
You can select server in project properties (PHP 5.4+ builtin, IIS Express, Custom URL). For regular IIS, you have to select Custom URL.
Then just hit Ctrl+F5 to run the project without debugging.
Anyway it all requires some PHP to be installed on your system, otherwise you'll be asked to do so.
I have running it on WAMP with debugging enabled.
1. First, you need to add the xdebug PHP addon (http://xdebug.org/download.php) to your WAMP folder. Depending on your WAMP server build, you need the corresponding x86 or x64 xdebug built for the 5.5 PHP version (if you're using the latest WAMP). Make sure you download the ThreadSafe (TS) version!
2. Put the downloaded php DLL into WAMP\bin\php\php5.5.12\ext
3. Modify the line zend_extension in your php.ini to point to the dll in an absolute file path, like zend_extension="C:\Wamp\bin\php\php5.5.12\ext\php_xdebug-2.2.5-5.5-vc11-x86_64.dll" in my example.
4. Open your PHP project in VS and make sure that in the properties of your project, you have "Use PHP built-in Web Server" selected and pointing to localhost, with auto-assigned port.
5. Start the project and follow the assistant for your custom running server to select the WAMP php.exe and start debugging :)
So, today is 5/7/2014 and I see PHP Tools was just updated yesterday on 5/6/2014 with Version 1.12.5187.
So, I downloaded it.
While it was downloading, I go into Control Panel to remove the old version that I installed last month. It also says it is Version 1.12.5187.
Was the Version number not updated with this last change?
Yesterday we've just updated a description on Visual Studio gallery, not the actual binaries. 1.12.5187 is the actual latest. You can see detailed update history on our page http://www.devsense.com/products/php-tools/download
Very satisfied with PHP Tools so far, but I'd like to be able to use TypeScript within my PHP projects. I see no template available for it from the add file dialog within my PHP projects. I tried simply renaming a .js file to .ts, and while I do get intellisense and syntax highlighting for it the file doesn't compile on build.
I'd also like to be able to use SASS within PHP projects. Luckily though simply renaming a .css file to .scss was enough to SassyStudio to pick up on it and do it's job. A template in the add file dialog would be nice though.
Thanks for the question. I'm glad you're satisfied with PHP Tools.
We're planing on supporting typescript in PHP projects very soon. ( http://support.devsense.com/viewtopic.php?f=21&t=1227 )
We'll explore possibility of adding SASS template as it has to be available only when some service is ready to handle those files.
I've bought the PHP Tools for private use nearly one and a half year ago and I am very satisfied. My supscription ended in December, but that was no problem for me. I don't need the newest update and like I understood it when I was buying this software I could use it later but just don't get updates.
But now I've reinstalled my second PC and wanted to install the Tools for VS2012 again. Install was successful, activating too, but I can't use any feature, like IntelliSense and more.
So how can I get my old version to work again?
Everything I do to try and step through my code in the debugger seems to be doing nothing.
I searched online, and was only able to find one reference to the other VS PHP tool - but I've already purchased this one!
Can you point me to some tutorial detailing how to get the XDEBUG to work with this?
I hope doc and demos page helped. If you'd still need help with setting things up, just go directly to our support forum http://support.devsense.com or email us to email@example.com .