![]() ![]() Once opened you can navigate to the setting you want to change using the directory structure. The dialog can be opened by typing the cmd+, (command+comma) shortcut. The settings dialog is where you can find and configure all the PhpStorm settings. Open editor tabs settings box by navigating from the menu to window > editor table > configure editor tabs. To configure how the tabs in the editor tab bar behave: I keep the editor tab bar visible to be able to tab between open documents, however the tab bar can be turned off as well. ![]() To hide the status bar, using the menu navigate to view > appearance > status bar and uncheck the status bar To hide the navigation bar, using the menu navigate to view > appearance > navigation bar and uncheck the navigation bar To hide the toolbar window bars, using the menu navigate to view > appearance > toolbar window bars and uncheck the toolbar To hide the toolbar, using the menu navigate to view > appearance > toolbar and uncheck the toolbar If you don’t have a php project yet, just clone one from Github or let the editor open a tutorial php project that comes bundled with the editor.īelow are the steps to take to turn off the UI elements: To be able to setup the editor we need to open a php project first so the editor launches. To that end I turn off most of UI elements. The first thing I like to do is to get rid of as much UI clutter and use keyboard shortcuts to access editor features. To find the path on your system use the bash command below: Note: The symlink /usr/local/bin/pstorm is automatically created by the PhpStorm installation to launch the editor window in the scope of your project. Now you can go to any project folder in the terminal and type pstorm. Type in /usr/local/bin/pstorm which is the path of the PhpStorm executable on your system. Using the application menu select tools > create command line launcher to open the command line launcher input box. This opens the editor window and displays the application menu. Opening PhpStorm editor from the command lineīefore we can configure PhpStorm to open from the terminal we need to launch it using the desktop icon and select new project and create an empty project. In this post I detail how I set up PhpStorm for productive PHP development. Also, PhpStorm automatically switches to Git from WSL for projects that are opened when you use the \\wsl$ path.įor more information about working with Git in PhpStorm, refer to Git.My PhpStorm Development Setup | aregsar Areg Sarkissian Posts | About My PhpStorm Development Setup ![]() If Git is not installed on Windows, PhpStorm searches for Git in WSL and uses it from there. PhpStorm supports Git from the Windows Subsystem for Linux 2 (WSL2), which is available in Windows 10 version 2004. In the Select Path dialog that opens, select the folder in the WSL file system that contains the project to open, or type the path to the \\wsl$ project location manually. In PhpStorm, you can directly open a project stored in the WSL file system and work with it like with any other project.Ĭlick Open on the Welcome screen or select File | Open from the main menu. ![]() Open a project stored in the WSL file system You can appoint the created interpreter for all common tasks: executing scripts or Composer commands, running PHP Quality tools, and so on. Sudo apt install php php-mbstring php-xml php-zip php-curl php-xdebugĬonfigure a WSL-based remote interpreter as described in Configure remote PHP interpreters. Open Windows PowerShell as Administrator and run In this case, you need to do the following: Upon the first launch, the system may prompt you to enable the Windows optional feature. In this case, you need to update your WSL distribution. Note that PhpStorm does not support legacy WSL, which you may have installed before upgrading your system to the build 16299.15 or later of Windows 10. Follow these instructions to switch the distributive. To work with WSL 2, your Windows version should be 10 build 18917 or later. See the official guide Install the Windows Subsystem for Linux for instructions. Configure WSLĭownload and install a WSL distribution (for instance, Ubuntu) from Microsoft Store.įor this step, be sure to use at least Windows 10 or later with the latest “Fall Creators Update” (minimum version 1709, build 16299.15). Currently, it supports several Linux distributions, such as Ubuntu, OpenSUSE, and SLES. WSL ( WSL 2) – Windows Subsystem for Linux – is a compatibility layer for running Linux binary executables natively on Windows 10 and later. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |