Package Details: phpstorm 2024.3-1

Git Clone URL: https://aur.archlinux.org/phpstorm.git (read-only, click to copy)
Package Base: phpstorm
Description: Lightweight and Smart PHP IDE
Upstream URL: https://www.jetbrains.com/phpstorm/
Keywords: development ide php
Licenses: custom:jetbrains
Submitter: None
Maintainer: freswa
Last Packager: freswa
Votes: 229
Popularity: 0.21
First Submitted: 2011-01-22 19:28 (UTC)
Last Updated: 2024-11-14 11:40 (UTC)

Dependencies (6)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 22 Next › Last »

freswa commented on 2016-03-19 01:11 (UTC)

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

KingCrunch commented on 2016-03-19 00:57 (UTC)

The intelliJ-platform requires Java >=8

freswa commented on 2016-03-18 20:03 (UTC)

@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 (UTC)

@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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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

ram4nd commented on 2016-01-12 08:54 (UTC)

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