Visual studio code php tools
Show PHP Tools for VS Code is a full development integration for the PHP language. The features are provided respecting conventions, stability, simple use, and performance. Please see the product page for more details on devsense.com. This package extends VS Code with fast code completion, advanced editor features, code fixes, code lenses, code generators, debugger, built-in development web server, test explorer, tests debugger, and workspace-wide code analysis. Support for vscode.devThe PHP Tools extension offers support when running on vscode.dev (including github.dev). Read more ... Editor
Debugging
Code Analysis
Testing
Code Help and CompletionTake advantage of type-based, blazing-fast code completion, signature help, and colorful tooltips within VS Code. The editor is context-aware, lists available symbols with detailed information, performs type analysis, and completes selected options. It also auto-completes the dollar character for variables and even provides a URL to online documentation when possible. The integrated manual of all PHP symbols is localized for the major languages - English, Japanese, Spanish, French, Portuguese, German, Russian, or Chinese. Code ActionsQuickly refactor and generate code using code actions. This feature gives you quick fixes for the code that is right at your cursor, at your hand. Generate PHPDoc, property getters and setters, implementation of interfaces, abstracts, and more. DebugRun the integrated built-in server, debug a script, or connect to a local or remote server. Debug is provided through Xdebug extension and provides you with all you need. Easy to use with the respect to VS Code conventions. See and manage breakpoints, watch expressions, locals, the call stack, or change variables value. Tooltips reveal the expression's value as well, including subsequent listing through large arrays. Continuous Code ValidationReveal troublesome issues and problems without testing, and even before running the code. The built-in type
analysis and code validation will check the entire project in seconds, and it gets updated as you type. Problems are listed in the NavigationThe editor provides you with Rename RefactoringSafely find and rename variables, classes, interfaces, or functions with a single press of a key. The feature takes into account PHPDoc comments, possible indirect variables, or dynamic code constructs. Code FormattingThe formatter makes the code look clean and unified. It understands your conventions, keeps multiline expressions as you wrote them, adjusts the comment blocks, pretty prints the expressions and nicely purifies the rest. Code is formatted automatically when you finish the statement or a code block. TestingPHPUnit tests within the project are detected and automatically listed in the Test View panel. You can run and debug all the tests, a suite, or just a single one. All the listed tests are marked with the succeeded icon with details of the test run. Failures are inlined in the code with the corresponding diff. See the testing documentation for more details. Documentary Comments are generated upon typing Optionally, snippets can be customized using settings
This feature requires
Notices
Can I code PHP in Visual Studio Code?PHP in Visual Studio Code. Visual Studio Code is a great editor for PHP development. You get features like syntax highlighting and bracket matching, IntelliSense (code completion), and snippets out of the box and you can add more functionality through community-created VS Code extensions.
What is the best PHP extension for Visual Studio Code?5 best VSCODE Extensions for PHP Developers!. PHP Debug. This one is simple enough to explain but is really powerful. ... . PHP Intelephense. This extension is a PHP Formatter, there are so many features, but let me tell you some of them that are important: ... . Laravel Artisan. ... . Laravel Blade Snippets. ... . PHP Tools.. |