Missing newest WebStorm in newest PhpStorm (I need post-css support)

I'm interested in post-css support which was introduced in WebStorm 2016.3, but it appears that my PhpStorm doesn't include it (Settings > search for "postcss" or "post-css" returns nothing). When I Check for Updates it says I'm already up-to-date. Is it missing, or the newest WebStorm will be included in newest PhpStorm with a delay?

0
6 comments

PostCSS is implemented as plugin. Go to File > Settings > Plugins > Browse repositories: type `postcss`.

0

I found it, but the problem doesn't end so far. The plugin works only for 2016.3 5644.* build at highest. In EAP, currently available PhpStorm build is 7743 (which doesn't support this plugin) and it's the only 2016.3 version I can download. It also appears there is no possibility to downgrade it, nor to download older versions like 2016.3 5644. Is there really no way to access previous releases of PhpStorm 2016.3?

0

Hi Lukasz,

What exactly does not work?

I've just installed that plugin (version: 163.5644.1) in PhpStorm 2016.3 EAP Build #PS-163.7743.39 and it seems to work OK (I did copy-paste simple code from http://postcss.org/ site):

:root { 
  --red: #d33;
}
a {
  &:hover {
    color: color(var(--red) a(54%));
  }
}

 

I did had some exception on project opening (which I did not had before installing this plugin) but it still seems to work.

P.S. I have not tried any serious write-postcss-code-from-scratch -- just basic editing.

0

What exception do you get?

In my case the exception appears when I run PhpStorm (even with no opened project) and it kills it completely:

"Plugin 'org.intellij.plugins.postcss' failed to initialize and will be disabled.  Please restart PhpStorm."

I also installed 163.5644.1 plugin on 163.7743.39 build. Tested on 2 machines (Windows 7 and Windows 8) - same result on both.

0

@Lukasz

It was some generic exception not linked to any of the plugins (at least there was nothing in the stack trace that would have any pointers to any particular plugin)

I've launched the same project today and it works just fine -- no exceptions at all (I did not do any file editing -- just opened the same project where I left it yesterday).

How did you installed that plugin? Was it via ZIP file ... or some another way? For me it was "Settings | Plugins --> Install JetBrains Plugin..."

Try this:

  1. Remove that plugin and restart IDE
  2. Install that plugin again using my path (in case if it was different) and restart IDE
  3. Try this in brand new project
  4. If still issues -- try disabling all other non-bundled by default plugins (regardless who made them -- JB or 3rd party)

I'm on Windows 10 Pro x64 if it matters.

 

1

At first I've installed it from .jar file unpacked from .zip downloaded from jetbrains website, but this time I've tried to install it one more time like you did, from "Settings | Plugins --> Install JetBrains Plugin..." and it appears to be working now!

Unfortunetely postcss-scss is not supported yet because I have plenty of error lines in my stylesheets ($variables and 2-slash comments are not recognized), but I hope they'll provide it in the future releases.

0

Please sign in to leave a comment.