![8 best visual studio extensions 8 best visual studio extensions](https://matrixread.com/wp-content/uploads/2020/07/TOP-MUST-HAVE-VS-CODE-EXTENSIONS-TO-IMPROVE-PRODUCTIVITY-930x620.png)
- 8 BEST VISUAL STUDIO EXTENSIONS HOW TO
- 8 BEST VISUAL STUDIO EXTENSIONS FULL
- 8 BEST VISUAL STUDIO EXTENSIONS CODE
- 8 BEST VISUAL STUDIO EXTENSIONS DOWNLOAD
The above pack has all super-globals and a few class-based snippets too. These of course are extremely handy and help speed up development.
8 BEST VISUAL STUDIO EXTENSIONS FULL
For example, in this snippet pack, if we type ‘c’ and hit return, a full PHP class will be written to your file in an instant.
8 BEST VISUAL STUDIO EXTENSIONS CODE
Just in-case your not aware of what snippets are, they mainly are keywords that you type out and hit return to print out a particular snippet of code to your file.
![8 best visual studio extensions 8 best visual studio extensions](https://demiliani.files.wordpress.com/2018/12/VSCodeRecommendedExt_04.jpg)
See the following code for an example of what it adds to your file for you. This extension will turbo-charge your object-oriented PHP development. It’s as simple as right-clicking on the variable you want getters and setters for and executing the extensions helper. Yep, you guessed it, this extension quickly adds ‘get and set’ functions to your code. Whether that be on a server on your local machine, it must be specified in the VSCode extension settings.Īnother convenient extension is the Getter & Setter package, I’ll give you half a millisecond to work out what it does. You can also configure the extension to run its formatting every time you save the file too.Ī quick note with this extension though, is that you must have the path to the PHP engine specified to work properly. With the above extension, you don’t have to worry, with a quick tap of CTRL + ALT + F, the extension will magically format the PHP into a pretty formatted file. phpfmt – PHP formatterīecause us coders love to type super-turbo-fingered-fast, we can’t always guarantee that our code layout is correctly tabbed and indented.
![8 best visual studio extensions 8 best visual studio extensions](https://www.softwaretestinghelp.com/wp-content/qa/uploads/2021/10/faq-extensions-install.png)
It’s not only helpful, but the style is known industry-wide. So, if you’re a big fan of comments, this way of commenting code is well worth putting in to practice. Here is another example of the DocBlocker with some tags. What’s also great is that it comes packed with comment tags like and You can quickly get access to these tags with their respective snippets by pressing the symbol and choosing from the drop-down list. This extension makes it very quick to append this block to your code, wherever you may need it. See the following code snippet for example – /** What on earth is DocBlocker I hear you ask, well, if you are asking that question, essentially a DocBlock is a comment block.
8 BEST VISUAL STUDIO EXTENSIONS HOW TO
The tutorial instructs how to configure for code-level-simulation debugging and live-browser debugging. This is another feature that I couldn’t live without, and I’m almost sure that it’s the same for you! I wrote an article on how to set up debugging PHP with VS Code a while back.
8 BEST VISUAL STUDIO EXTENSIONS DOWNLOAD
PHP is no exception, and you must download the framework for debugging to work with Visual Studio Codes debug module. PHP DebugĪlthough VSCode comes with a Debug widget fresh out the box, it doesn’t necessarily mean it works with all programming languages instantly. This extension by Felix Becker is super-responsive too, meaning unlike some other IDE’s, it always instantly gives you options within your autocomplete drop down.
![8 best visual studio extensions 8 best visual studio extensions](https://miro.medium.com/max/1400/1*6ACCtewE6_Kqqa7Fu3xkBQ.jpeg)
Intellisense will offer to autocomplete on native PHP functions while you type. PHP Intellisenseįirst and foremost is Intellisense, I don’t think I could live without this one. With this list of essential extensions, you can configure your Visual Studio Code IDE into a wizardry-code-environment. In this article, I will go through the best available extensions that can be installed with your version of VSCode. But yep, it is a strong development environment for PHP, and of course, there are plenty of extensions to be used with it. It’s something that shocked me personally when it was released as I didn’t expect it to come prepared for PHP developers. Microsoft’s Visual Studio Code is utterly competent with the PHP language.