Easier JavaScript Library Scope Configuration in IntelliJ IDEA 11.1

This is a cross-post from WebStorm & PhpStorm blog, originally posted by Konstantin Ulitin.

As you may know from the previous post about JavaScript Libraries in Intellij IDEA 10, 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 this featuer with IntelliJ IDEA 11.1. We’d appeciate to hear responses from you in our issue tracker ;).

About Andrey Cheptsov

Andrey Cheptsov is IntelliJ IDEA product marketing manager at JetBrains. He's passionate about productivity, programming languages and tools.
This entry was posted in New Features and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>