0

I was using Webstorm 2016.1 version.

Today I download Webstorm 2017.1 version from the offical website.

After downloading I extract the tar.gz. And in terminal, I go to the extracted folder/bin and execute ./webstorm.sh.

When I terminate the ./webstorm.sh in terminal, webstorm is closed. Also when I search Webstorm in the applications list, I get the older version. How should I use new version of Webstorm rather than opening it via ./webstorm.sh command. What should I do?

1

You have two options. You can run the app from the terminal as long as you add an ampersand at the end of your command. This will prevent webstorm from closing from the terminal.

Or, option two and the most practical is to create a .desktop file which will create a launch icon in the Slingshot menu.

Here is an example file:

[Desktop Entry]
Version=x.y
Name=Webstorm 
Comment=This is my comment
Exec=/home/user/Documents/webstorm.sh <--- enter the full path to you app
Icon=/home/user/Pictures/icon.png <-- optional but nice to have
Terminal=false
Type=Application
Categories=Utility;Application; 

Name the file whatever with a .desktop extension and place it in ~/.local/share/applications

  • 1
    To get rid of the old version of WebStorm, look in the directory listed above (and also /usr/local) to find the .desktop file for the old version of WebStorm. Delete the file and the old version of WebStorm. See also: elementary.io/docs/code/getting-started#the-desktop-file – Ryan DeBeasi Mar 23 '17 at 14:36
  • 1
    Good call. Also rather than delete the file, he could just edit it with the updated path to the new version. – Pretzel Jones Mar 23 '17 at 15:10
  • This happened to me when I extracted the webstorm.tar.gz installer to /tmp. I extracted the files to a persistant folder ~/Applications/Webstorm and the desktop file and app worked just fine. – P.Brian.Mackey Jun 3 '17 at 1:48
0

You could use the new Toolbox to keep your Jetbrains IDEs up-to-date

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.