Thank you for your review! Uninstall has to be made from Control Panel(Documentation: http://docs.devsense.com/installation/uninstall). Uninstall in the Extension manager is only available for VSIX extensions, which is too limited for language integrations.
Tool constantly hangs in Visual Studio 2015 Community. Selecting just simple text to remove from a PHP file. Visual Studio 2015 goes to NOT RESPONDING. I was so excited for this tool. I can't say I would ask my company to pay for this with this type of bug.
Thank you for the review. I've responded to your question at Q&A tab, please take a look and if you'd still experience any issue please write us an email to email@example.com we will help to configure it.
It's hard for us to respond to review like this as it doesn't really say anything about the product except that is paid. We try to bring the best possible experience with PHP into VS and offer good support. To be able to do that we need to charge for the product.
This extension is a great addition to the Visual Studio product. It allows us to integrate PHP programming in the classroom using Visual Studio, providing the debug support that we are use to with other languages such as C++ and C#. In addition, this product provides a much easier path for getting PHP setup and working using the local machine.
We're very sorry for this experience. Most likely this would be result of unexpected interaction with another extension. While we test with most frequent VS extensions, it's hard to test all of them. If we'd know more details about the exception we'd fix this immediately. Or if the issue is present in another extension we could contact the other vendor. If you'd like to try the extension again, please contact us at firstname.lastname@example.org we will be very happy to assist.
I would like to use this but doesn't seem compatible with Uniserver. The php.ini file has macros in it for file paths, and this extension just keeps complaining it can't find the php.ini file. I tried copying the one uniserver eventually uses based on its configuration, from php_production.ini to php.ini, but after getting it to work, now this extension says it can't find mysqli, which is built into the configuration (again) of uniserver. I have no issue using Eclipse, I'm not sure why this extension insists on validating my php setup before running.
Thanks for your feedback. We do this only for "Controlled environments" as IIExprees, but if you want to use different server, just select Use Custom Server in project properties ( right click on project node in Solution Explorer, select Properties) and fill URL of the project. No configuration will be checked and we won't care about php.ini.
Please let us know if that solved the issue you've been having. You can just ping us on email@example.com or on http://support.devsense.com
This addon is relly best! The best choice for developing in PHP! Thanks a Visual Studio and really AWESOME integrating a AutoComplete and others (and mainly thanks with support of PHP Docs feature), the OOP MVC framework is really easy to work, improve etc.! Absolutly love it!
To future some ideas: - Custom PHP server, for support a Mod Rewrite too (so apache) - When again debug a website (for sample in Chrome), it will not open a new tab but just refresh a tab what exists (like as in Apache Cordova) - Add support for Database Servers and his explorer (for sample PHPmyADMIN).
Some bugs: Autocomplete and other stuffs dont show a functions of extended class (so when is "user extends dbObject", its not shows function from dbObject class)
That would be nice to see in future updates! Thank you for good job and im glad for this is work of Czech people!
-- Editing php Files Problems to detect the correct language in mixed mode. Many php scripts use a mix from php, html, js and css. It seems that PHP Tools have problems to detect what language is used in current segment -> Wrong (or none) syntax highlighting.
-- Speed It's slow. Project analyse need 10-20 minutes for bigger projects (in my case a Joomla CMS) - In PDT same job needs 30s
-- Stability Bigger projects will kill VS. Sometimes the UI is unresponsive for 30s. I need to disable big parts of code to work without crashes -> IntelliSense will not longer work
-- Price Price is too high for a Plugin. phpStorm is same price, PDT is free and works better
-- Free version I download the test version but after the trial period it's impossible to jump to declarations what makes it complete useless in free mode
-- Summary I really want to like PHP Tools, but in it's current state it's impossible to work with it (slow, unresponsive, crashes...). Price is too high for a product that's not ready for productive work
I'll give PHP Tools another try after some versions - Hope Devsense can fix the problems :-)
Thank you for your review and feedback! I'm sorry we didn't fulfill the expectations at this time.
- Editing mixed code php files May I ask you what version of Visual Studio and PHP Tools are you using ? Since VS2015 we are using new Visual Studio HTML editor which is very different from previous VS versions. If there are some pieces of mixed code which are not handled as expected, please send them to us.
- Speed and stability Joomla is one of the regularly tested frameworks and it should take few sec to analyze as expected. I’ve just smoked tested it and it took ~15 sec on 7 years old laptop.
I’m thinking there might be some specific piece of code which we have an issue with. E.g. we had an issue in older version of PHP Tools to analyze one php function which had ~3000 lines of code and >200 local variables in one of the joomla plugin
Or the project is located on network share, which is unfortunately known issue as we have to go through all the project files.
If you could please contact us at firstname.lastname@example.org or you can contact me directly at email@example.com we would handle these issues with top priority.
I am running VS2015 with PHP Tools for Visual Studio 2015 1.19.8719. I have loaded standard Wordpress into a project, but after running the installation the Wordpress page never shows up. I have other PHP-projects that works without problems.
Any hints on where to start looking?
I also want to second that this is a wonderful tool. The one thing that I could really use is the ability to publish by folder and/or file.
I want to be able to use the Intellisense for all of WordPress, but if I exclude everything but the theme (all I really want to publish), I can't get Intellisense. If I keep everything but the theme, I have to publish everything - meaning I can't update WordPress on the server without also updating it in the project, and same goes for plugins, etc.
It would make my life a ton easier if I could just publish the themes folder! Any word on when that functionality possibly be included at some point in the future?
There are couple of ways how to achieve what you want.
1. Once you have publish profile created, publish selection feature get enabled. So when you right click on the file/folder you can publish just that node.
2. You can create two projects:
- Project A: Wordpress
- Project B: Theme
- Create project reference in ProjB to ProjA, so you'll get the Intellisense there. - Setup publishing for ProjB.
For debugging to work properly in this setup, check this http://support.devsense.com/viewtopic.php?f=21&t=1171&p=6241&hilit=wordpress+plugin+reference#p6241
In regard to publishable folders, I would like to be able to not publish a specific folder tree. I have my SASS included in the project - using Web Essentials to compile it - but I do not want it to be published with the site.
Is there a way to stop the publish from including this?
I have tried:
- Setting Publishable:false on the folder in the phpproj file
- Setting Publishable:false on all files in the tree - this stops the files but still creates the tree.
Developing a CodeIgniter project, to add an intellisense I have to add an external reference.
How can I do this for PHP?
or Where do I place the code? I can't found the setting to add external reference in Tools -> Options.
Thanks for the post. Basicaly you can put this file anywhere in the project for IntelliseSense to pick it up. We have a thread on our support forum discussing this question. http://support.devsense.com/viewtopic.php?f=21&t=1728&p=7854&hilit=codeigniter#p7795
Please let me know if it helped.
Hi, I am very tempted to buy this however I am not sure if it supports debuging an RESTful api or not?
for example this: http://localhost:6082/public/default.php works fine
however this: http://localhost:6082/v1/contact_template
returns: The requested resource /v1/contact_template was not found on this server.
I assure you that it is there though :-)
I think the issue is related to using PHP build-in web server, which would need route script in order to handle these types of URLs.
You can switch to IIS Express easily in project properties, Server tab. PHP Tools will set everything up. Then you can use URL rewrite module to setup URL rewrites.
Or if you are using .htaccess you can use/install Apache server and select Custom server option in the server tab. In this case you'd have to setup the server yourself and just provide php tools with the virtual URL.
I am trying to use trial version of this product.
When I started to debug php project, the VS says error message below.
Your envrionment is missing PHP 5.6 with debugging extension.
THe PHP 5.6 and Xdebug is missing. Microsoft Web Platform installer will automatically intall and configure PHP and Xdebug.
When I click OK, the red button on the top right occurs and it stops.
How can I solve this problem?
Thanks for your post.
It seems automatic installation was unable to install php 5.6/xdebug, when you click on the red button you might see more information. Please check if you have latest Web Platform installer and let us know what does it say. You may directly email as at firstname.lastname@example.org
Thanks for the post. Do you still experience the issue?
This should not be happening after installation, but you might try just to reopen the files previously opened as they might be still opened in previous default Text editor from VS.
Please let me know.
What's wrong with XAMPP/xDebug/PHPTools and how can I fix this?
Could you please tell us the details step.
I have also configured all xDebug and php.ini file properly as mansion your site . But it is not working working ..
Thanks for your post.
There are number of things necessary to check when using XAMPP:
- check if you are using PHP Project, not ASP.NET web site
- make sure xdebug is load correctly, run <?php phpinfo(); script to see if xdebug is listed in loaded extensions
- Check project properties ( right click on the project node in solution folder), select Server tab, you have to setup Custom server and insert correct URL configured in XAMPP.
If these 3 points are fulfilled, it should work. Please write us an email to email@example.com if you still have any issue with this. We will help you to set everything up.
Thank you so much,
When I start up debugger (using F10) I get an error...
The requested resource /?XDEBUG_SESSION_START=F7C6016 was not found on this server.
Any idea? Recently added license, everything worked fine until trial ran out. Just downloaded and installed newest version, 1.17.8075.2013.
Thanks for your post! This seems like a server settings more than debugger issue. IF you simply run your project without debugging (Ctrl + F5) do you see the expected page?
If not, it would be the server settings. Let's solve the issue through email, as I can see you've submitted the feedback earlier.