Features PhpStorm Tutorials WebStorm

New in 4.0: Easier JavaScript Library Scope Configuration

As you may know from the previous post about JavaScript libraries in PhpStorm & WebStorm, the main benefit of specifying JavaScript libraries in your project is to populate a completion list with only relevant members. We have reorganized the configuration panel at Settings|JavaScript|Libraries, so it hopefully become easier to use.

If you simply want to select a library for the whole project, check the corresponding box. For more complex library scopes configuration, click Manage Scopes… button.

Also, for per-file scopes settings, you can use JavaScript file context menu triggered by right-clicking in the editor. Note that some items are disabled because their scope is set at upper level (project or directory).

Try out latest PhpStorm & WebStorm 4.0 EAP. We’d appeciate to hear responses from you in our issue tracker ;).


Comments below can no longer be edited.

5 Responses to New in 4.0: Easier JavaScript Library Scope Configuration

  1. Avatar

    Grzegorz says:

    March 30, 2012

    I think that latest build is broken. I’m unable to unpack file: PhpStorm-EAP-117.65.tar.gz Can you verify that ?? Even after third download error is still there : unable to find file /bin and /help.

    • Avatar

      Andriy Bazanov says:

      March 30, 2012

      I have seen similar messages few times already (not just this build, but last 3 or so). How do you unpack it (console or some GUI tool)? Try another way (GUI -> console or console -> GUI). Those who reporting it saying that helps.

      • Avatar

        Grzegorz says:

        April 2, 2012

        You were right. Using the mc helped. Perhaps the archive should be tested? Or it should be created differently?

  2. Avatar

    Bryan Green says:

    March 30, 2012

    I like the new header on the blog. Cheers!

  3. Avatar

    chizz says:

    March 31, 2012

    picture nice very is

Discover more