Package Base Details: phpstorm

Git Clone URL: https://aur.archlinux.org/phpstorm.git (read-only)
Keywords: development ide php
Submitter: None
Maintainer: freswa
Last Packager: freswa
Votes: 189
Popularity: 0.767923
First Submitted: 2011-01-22 19:28
Last Updated: 2019-06-18 20:54

Packages (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 ... Next › Last »

freswa commented on 2016-03-19 01:11

@KingCrunch Please see phpstorm page. It depends on 'Oracle JRE 1.6+ or OpenJDK 1.7+'

KingCrunch commented on 2016-03-19 00:57

The intelliJ-platform requires Java >=8

freswa commented on 2016-03-18 20:03

@declasun: thx for the hint. I don't think that a wrapper around the startscript is a good way to achieve this. I've just added a profile.d file and a note in the PKGBUILD.

dcelasun commented on 2016-03-18 15:13

@frederik: intellij-idea-ultimate-edition [0] recently merged this [1] patch so IDEA would prefer the system JDK. Could you also make the same change here?

[0] https://aur.archlinux.org/packages/intellij-idea-ultimate-edition
[1] https://gist.github.com/rbellamy/5e8d61a449bbff5132aa#file-0001-honor-idea_jdk-set-by-environment-patch

retzudo commented on 2016-02-01 13:29

Thanks Wietse for the explanation and workaround. Starting PhpStorm with `WEBIDE_JDK=/usr/lib/jvm/java-8-openjdk /opt/phpstorm/bin/phpstorm.sh` from the terminal did in fact work for me.

I copied the desktop file located at /usr/share/applications/jetbrains-phpstorm.desktop to ~/.local/share/applications/, changed the Exec line from

Exec="/opt/phpstorm/bin/phpstorm.sh" %f

to

Exec=env WEBIDE_JDK=/usr/lib/jvm/java-8-openjdk "/opt/phpstorm/bin/phpstorm.sh" %f

logged out and back in (GNOME wouldn't pick up the new desktop file otherwise) and Bob's your uncle. No more ugly fonts. This fix should persist through updates.

Wietse commented on 2016-01-31 11:48

@retzudo PhpStorm uses it's own packaged Oracle Java JDK, which causes the fonts to be terribly ugly.

Phpstorm tries to locate a JDK installation directory which will be used to run the IDE in the following order: WEBIDE_JDK, ../jre, JDK_HOME, JAVA_HOME, "java" in PATH.

The clean solution is to set the WEBIDEA_JDK environment variable to the OpenJDK path. For some reason this did not work for me, but I did not feel like spending a lot of time to find out why, so I just renamed /opt/phpstorm/jre to something else so PhpStorm would use JDK_HOME instead. (I will have to do this after each PhpStorm update.)

PhpStorm does not officially support OpenJDK, but I have experienced no problems so far.

retzudo commented on 2016-01-21 14:00

With PhpStorm 10 I once again have font rendering issues that other people and I had with PhpStorm 9 (i.e. no anti-aliasing). The PKGBUILD for 9 had these lines to fix the issue:

# fixing FS#40934 here too
sed -i 's/lcd/on/' "${pkgdir}/usr/share/phpstorm/bin/phpstorm${SUFFIX}.vmoptions"
echo "-Dswing.aatext=true" >> "${pkgdir}/usr/share/phpstorm/bin/phpstorm${SUFFIX}.vmoptions"

So I tried to replicate that in /opt/phpstorm/bin/phpstorm64.vmoptions which didn't help. I also copied the file to ~/.WebIde100/ which also didn't fix the font rendering.
Running PhpStorm via `_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on' phpstorm` also didn't make any difference.

I have infinality packages installed (fonts & JRE/JDK) and font rendering in PhpStorm 9 (installed via commit b164826 & makepkg) works correctly.

Suggestions?

freswa commented on 2016-01-12 11:42

@ram4nd Could you point me to a complete list of additional tools which phpstrom optdepends on?

ram4nd commented on 2016-01-12 08:54

Please add optional dependencies for closure-linter, code-sniffer, etc... Linters and tools for code validation.

m79reed commented on 2015-11-12 10:59

It looks like the download service had temporary problems. File size is correct now: 198M. Thanks for response.