Hello! I'm from Brazil! You are the best! People like you improve the world! Continue with this work and do not give up ! Congratulations ! I am very happy!Best PHP working tool! The Eclipse and Netbeans team should learn from you to facilitate the work of programmers.
Thank you for your feedback! Could you please specify in more detail what particular performance issue you've been having and more about the size of your project and hardware specs? Just email us at firstname.lastname@example.org, we'd really appreciate that we'll take a look at it ASAP.
Unfortunately Visual Studio Express licensing doesn't support extensions from other vendors than Microsoft. e.g. http://visualstudiomagazine.com/articles/2014/05/21/no-extensions-for-visual-studio-express.aspx
But, there is a free Visual Studio 2013 Community http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs#d-community, which is basically VS Professional. You can install PHP Tools there.
Could you please re-evaluate once you try the extension? DEVSENSE unfortunately can't change the fact VS Express versions are not extensible.
Could you please specify in more detail "detect magic constructors automatically"? We'll be happy to take a look at it, just send us an email to email@example.com or post it to our forum http://support.devsense.com.
The best intellisense support for PHP in VS you will find. Yes, there are PHP specific IDEs that may do much better job, but if you want/need to use your Visual Studio with PHP, PHP Tools for VS is exactly what you're looking for.
Thank you so much for your great review! We're very glad that PHP Tools have satisfied your demands.
About zooming feature.... The setting of zoom is by default page specific in VS. What you can do is to change font setting in VS globally ( https://msdn.microsoft.com/en-us/library/ms165337.aspx ). This can be also done for debug windows font size.
The product is superb - excellent intellisense, debugging and code snippets.
I'm very happy to pay for good quality software and this is the right price.
One feature I have asked for is for the GUI to highlight unused and uninitialized variables, and they tell me this is in the pipeline. It's good to know this is under active, current development. *Update Feb 2015: This has now been implemented in 1.15 and is very good indeed, thank you!
I this, we use in Visual Studio Professional 2012 Update 4. Version you are using is 1.14.5747.2012.
This is a great application that does not impair the operation feeling of VS. However, there are some drawbacks, it is a personal sorry.
• In order to "Ctrl + M, Ctrl + L" of VS function does not work, it is not easy to switch between outline. • In intellisense of method, description of the return value is not out. • File when you have opened, all outline will be deployed, it does not return to the state it was in when you close the document. • Class, when folded comments of methods, all is "summary".If possible, I want to display the first line of the description. • Not multi-localized difference. I hope the Japanese.
And if possible, I want you to solve these problems that plague me. I am looking forward to the further growth.
Thank you very much for your review and suggestions on particular features!
1.) 1.15 has Ctrl + M + L support 2.) 1.15 supports this 3.) This is unfortunately outside of our control. We're using Visual Studio HTML editor which does this. You could always turn off Visual Studio HTML support and then it will be using our basic HTML support which supports this feature ( Tools | Options | PHP Tools | Advanced | Enable HTML Editor in PHP files => FALSE ) 4.) Supported in 1.15 release 5.) Currently we just support English. We'll take a look at localization in close future.
After having a clean install of VS 2012 Ultimate I dowloaded PHP Tools, installed it with no errors, and then after restarting VS it seems that the extension is not installed although it is ( in my control panel I can unistall it for programs and extensions pane). Tried to restart my computer with no results though.
Any help is much appreciated!
Thanks for the post. What VS version do you have? Could you please check if the PHP Tools for VS are really installed in VS, just go to Help | PHP Tools for Visual Studio. If you can see the dialog PHP Tools are installed.
May I also ask you to send us VS Activity log, it would help us determine what's going. Just follow the instructions on this page http://www.devsense.com/doc/phptools/troubleshooting/activitylog-xml
Thanks for designing this very handy plugin!
I have a slight problem though. When I launch the debugger, it stops at breakpoints only if I set "Start Action" to "Current page" in the project properties. Any idea why it's not working with the "Start URL" option?
Some system info:
- Wamp (standard config)
- the "Start URL" I wish to use: http://localhost/MyProject/web/app_dev.php
- In the properties, "Servers" is set to "PHP built-in Web Server" with host name "localhost" (standard config I believe)
- "Apply servers settings to all users" is ticked...
Thanks for your post!
If you have WAMP, and you are also going to deploy your application to Apache... I would recommend not using PHP build-in Web Server, but use WAMP instead.
You'll just have to setup virtual directory on WAMP to the project root and in project properties setup Servers to Use custom web server: and fill the virtual directory of your project/website.
But back to the Start URL option. That should work the same way as current page. Make sure when you hit F5 that your browser is opened with XDEBUG_SESSION_START added to your url. This way xdebug is instructed to start the debug session.
You can also instruct xdebug to try to init debug sessions each time by adding this to your php.ini:
xdebug.remote_autostart = on
VS will handle it correctly and only debug when VS is in debug mode.
Please give me know if any of that helped or you'd need additional assistance.
Thanks for your answer!
I followed your advice and created a virtual directory for my project. It went fine.
However, I am still not able to make xdebug work as expected. XDEBUG_SESSION_START appears indeed in the url of my browser but the page does not stop at breakpoints in VS.
This is not a big issue though, I can live without it and I don't want to waste your time for a minor problem.
Thanks for helping!
Thanks for the response.
You can try to go through debug troubleshooting: http://www.devsense.com/doc/phptools/debug/troubleshooting
But strange thing is it works with current page, but does not with start url option. If you'd like we could take a look together, just write us to firstname.lastname@example.org.
Thanks and have a nice day!
htaccess rules are used by Apache server. PHP Tools by default just use PHP build-in server(which is just simple server that comes with php framework) or IIS Express. Both doesn't support htaccess, but ...
- If you want to use php build in server, there is simple htaccess simulator project (https://github.com/jaytaph/HTRouter ) but it's not feature equivalent and it has its bugs. I wouldn't recommend it for any bigger project.
- for IIS Express you can convert htaccess file to equivalent for IIS/IIS express http://www.iis.net/learn/extensions/url-rewrite-module
- Or the best way to get htaccess to work is just to install Apache and run your projects with Apache ( just setup your project in project properties to use custom server and fill url of the project ). If you are going to deploy your php application to apache server, this is the way to go. So your development/production environment would be the same.
Is it possible to set a custom web root? I have set up a structure for my project that mirrors what will be on the final server it requires having sub directories in the project to protect php's that will only ever be included or required and contain vital information that can never be exposed to the client. It seems the only possible way to set the web root is to put the project file in the directory that is to be the web root but then the project no longer recognizes any folders above the one it's in and puts all the other files in the root of the project. I would prefer if there was an option in the properties dialog for the project to set the web root, since I'm sure this is being passed as a parameter to the built in php server. Will these be a feature available in the future or is there any way to possibly do this already?
You are right, that would be quite useful reasonable feature to configure relative path to actual server root.
For now, you can setup custom web server, and we'll try to put this option into close future update.
I'm writing php in Visual Studio using the PHP Tools extension. The code formatting of the PHP Tools doesn't seem to be working.
The formatting option is available in the options menu under 'Text Editor>PHP>Formatting'.
And I have tried linking the php-extension to the PHP Editor in the options menu under 'Text Editor>File Extension'.
But nothing seems to work. When I try right-clicking a php document and choose Formatting and Validation it goes straight to 'Text Editor>HTML (Web Forms)'.
The problem seems to lie with Visual Studio not recognizing php as a language. Anybody an idea? Thanks in advance.
Thanks for your post.
The reason why our code formatting is connected with HTML formatting is that very often php files also contains HTML code and we have to take into account also HTML formatting settings. In case you don't care about this case, you can turn off VS HTML support in php files (there will still be basic HTML support, syntax highlight and basic formatting) - Enable HTML Editor in PHP files => FALSE.
Anyway php formatting should work in both cases and by default with .php extension files. Just make sure the code is syntactically correct, if not we don't format it as there might be some unexpected results.
If formatting still doesn't work please contact us at email@example.com with code sample and we'll take a look into your particular case.
This is a great tool sir.
Thank you for doing this.
I have a question, can you please add refresh to the Solution Explorer View? I update my source control, but the files don't show up right away. I have to close project just to refresh the Project Folder.
I was also very impressed about this tool and how I can really used it almost like a .NET application. However I am having a critical issue in my dev environment, before (with a simple application) I was able to add breakpoints and debug but now after stopping in a breakpoint the debugger stops and I have a "Connection Refused" in the browser, can you help me with this?
Is it possible to use visual studio IDE and work through a laravel folder within it. I am looking to build a hybrid app using laravel as the backend and use visual studio for the IDE and install cordova/ionic plugins. Is this all possible?
I installed the latest photos Dev tools in
VS2013 update 4 however I didn't have any highlighting when I opened my functions.php file. Checked the php editor settings and the editor is enabled.