Porting from IDEA to WebStorm

Answered

 I have a plugin developed under IDEA and now need to see if I can port to Webstorm. The plugin relies on Javascript and Typescript functionality.

I am finding that Webstorm is apparently missing classes such as PsiShortNamesCache and PsiLiteralExpression, thus giving me compilation errors. Confused. Should not this functionality exist under WebStorm as well?

Even adding idea.jar to classpath does not help:

5 comments
Comment actions Permalink

Bump! Sorry to pest, but this one is very urgent for my client, please help ASAP.

 

0
Comment actions Permalink

From documentation:

The following modules are currently available in all products based on IntelliJ Platform:

  • com.intellij.modules.platform
  • com.intellij.modules.lang
  • com.intellij.modules.vcs
  • com.intellij.modules.xml
  • com.intellij.modules.xdebugger

http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html 

0
Comment actions Permalink

Indeed both classes are Java specific and thus not available in any of the non-Java IDEs.

0
Comment actions Permalink

Thank you guys for your answers. So, how does one search for a file by name under WebStorm?

0
Comment actions Permalink

Use com.intellij.psi.search.FilenameIndex

0

Please sign in to leave a comment.