
Now, restart your terminal and you should be able to open webstorm from there.

Also make sure that you add /.jetbrain-launchers to your PATH variable. Then check if the path was created by Jetbrains.

In the example below, WebStorm will be opened with the directory ~/Workspace/my-project at the root of the Project. The proposed solution is to change that path to something like /.jetbrain-launchers like so. The name of the file will also be used as the command to invoke and launch WebStorm, it can change it, but for this example we will assume it is the default value of "webstorm"Īfter this is done, you can open a terminal or command prompt and user the "webstorm" command to launch WebStorm with a specific directory. The default value is /usr/local/bin/webstorm where /usr/local/bin is the path the launcher will be added and webstorm is the name of the file. Try in terminal ' wstorm ' and ' webstorm ' If the commands don't work you can run in WebStorm: 'Tools' -> 'Create Command Line Launcher. Firgure 3: This is the layout I would like to achieve with the terminal. , however when I run the command in the WebStorms terminal I get the following error: yarnpkg add -exact react rea. Firgure 2: Right-click menu for the terminal window - no possibility to split. I am trying to create a React application using the command create-react-app. This location should be within $PATH so that it can be invoked in the command prompt / terminal. Firgure 1: Right-click menu for the editor window. It can easily be created by using the menus Tools > Create Command-line Launcher.Īfter selecting the option, you will be presented with the "Create Launcher Script" prompt for a location and name of the command-line launcher. Please stay tuned and sorry for the inconvenience.A command-line launcher is a handle tool which allows one to open WebStorm using the command-line. I can see that it is directly connected to cmd. In the dialog that opens, specify the directory where you want to create a new Git repository. On the main menu, choose VCS Import into Version Control Create Git Repository. Open the project you want to store in a repository. When I open: File > Settings > Tools > Terminal. If you insist on using WebStorm tools you can follow steps as it is outlined on the website. But I would like to use PhpStorm terminal tool as administrator since I constantly have to execute queries that require administrator role. We hope it will be addressed by Microsoft in the meantime, we are investigating a possibility of running the indexer inside WSL (see IDEA-255733)Īs for WSL remote support similar to the one provided in VSCode, we are working on it, please see. Right click on cmd icon > run as administrator. There’s known WSL problems with the cross-OS file system performance with WSL2 which affect us (specifically on loading the project and indexing).So if new files are added to the project on WSL, the IDE might not see them immediately. You’re saying to it: hi please store this thing webstorm inside my local binary files.

You’ll see this dialog box: Whatever you type in there, your computer will run it as a script.

Type Create Command Line Launcher and press Enter.
#Webstorm opening directory through webstorm terminal windows
