4/18/2024 0 Comments Bluebeam Revu eXtreme 21.0.45 freeIn this article, I will explain how I managed to make my development environment comparable to PhpStorm's. The commands will be detailed for Ubuntu 18.04, but they can be adapted for Mac OS and possibly for Windows. Let's start! Prerequisites Install PHP and Composer I will take an empty Symfony application as an example for this article. To be able to run PHP code you obviously need to install PHP. You will also probably need Composer, a commonly used dependency manager for PHP. You can install them by running the following command:Įcho fs.inotify.max_user_watches=524288 | sudo tee -a /etc/nf Configure VS Code for PHP Autocomplete & Intellisense & Go to definition Go to from your favorite web browser and check that your Symfony website works. Let's create a new route in our application. Just add an empty file HelloWorldController.php in the src/Controller folder. Install PHP Intelephenseīy default, VS Code provides some basic code suggestions but they are generic and quite useless. To get useful code suggestions as you type, I recommend installing the PHP Intelephense extension for VS Code. I also tried the PHP Intellisense extension but it's slower on big projects and provides fewer features (it doesn't gray out unused imports for example).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |