Content deleted Content added
mNo edit summary |
No edit summary |
||
Line 33:
PHP Tools includes a code editor that supports [[syntax highlighting]] and code completion to make the PHP code readable. The editor reuses other language editors from Visual Studio such as [[HTML]], [[CSS]], [[JavaScript]].
The code editor makes use of [[PHP]] 5 and PHP 7 type hints and PHPDoc comments.
===Debugger===
Equally as in Visual Studio<ref>https://docs.microsoft.com/en-us/visualstudio/debugger/debugger-feature-tour?view=vs-2019#set-a-breakpoint-and-start-the-debugger</ref>, the debugger allows setting [[breakpoints]] to stop execution at a certain position in the code and watches which monitor values of variables when the program is paused. Breakpoints can be conditional, meaning that they brake the code when a given PHP expression is evaluated as true. Also, they can break when a given exception is thrown or by default, the program breaks when a fatal error happens, that is, an exception that prevents the program from continuing.
Once broken into the debugger code, it can be executed one line at a time: this is called stepping. The step commands include Step Into, Step Over, and Step Out<ref>https://docs.microsoft.com/en-us/visualstudio/debugger/using-breakpoints?view=vs-2019</ref>. When the program is broken, if the mouse hovers over the variable, the current value is displayed in a tooltip, where it can be modified. The debugger allows
===Testing===
Line 45:
===Other features===
• '''Composer Manager''': PHP Tools for Visual Studio has
• '''Twig Designer''': The Twig template support includes syntax highlighting, error checking, code completion and outlining. It is built into the system and its features do not require the Twig engine to be installed in the project, but some of them provide additional information when it is present.
Line 57:
• '''Project Publish''': This feature publishes projects to a remote server. The user can deploy a whole project or just a single file. FTP, SFTP, FTPS, File System and Web Deploy (mainly used for [[Microsoft Azure|Azure]]) are covered.
• '''Refactoring''': the user can avoid typos and keep the code clean when making code alterations, rename
• '''PHP Issues Recovery''': automatically installs and configures PHP to be used properly together with the [[Xdebug]].
• '''New Project Wizard''': an application that helps the user generate new projects
|