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 ;).

 

This blog is permanently closed.

For up-to-date information please follow to corresponding WebStorm blog or PhpStorm blog.

 
This entry was posted in Cool Feature, PhpStorm, Tutorial, WebStorm and tagged , , , , . Bookmark the permalink.

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

  1. Grzegorz says:

    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.

    • Andriy Bazanov says:

      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.

      • Grzegorz says:

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

  2. Bryan Green says:

    I like the new header on the blog. Cheers!

  3. chizz says:

    picture nice very is

Comments are closed.