Tag Archives: JavaScript

JavaScript Libraries in Intellij IDEA 10

Meeting the needs of developers working with JavaScript, Intellij IDEA 10 adds a new feature to allow specifying global JavaScript libraries that can be used across multiple projects. For a particular project you can set a scope for each library … Continue reading

Posted in New Features | Tagged , , | 9 Comments

Smarter Introduce Variable in JavaScript

Introduce variable is a very useful refactoring and is probably used quite often and for many languages IntelliJ IDEA supports. JavaScript is one of them (along with ActionScript). IntelliJ IDEA 10 makes this refactoring even easier and more pleasant to … Continue reading

Posted in New Features | Tagged , , , , | Leave a comment

JavaScript debugger improvements

In the latest IDEA 9.0.2 EAP build the new ‘Scripts’ tab is available in JavaScript Debug tool window: It displays all scripts loaded by Firefox in a tree-like structure and allows to open a script in the editor to set … Continue reading

Posted in Demos, New Features | Tagged , | 4 Comments

Live Templates in JavaScript/ActionScript/Flex

Writing JavaScript/ActionScript/Flex code becomes easier with IntelliJ IDEA 9.0.2. New set of live templates (see Settings dialog (Ctrl+Alt+S), Live Templates, JavaScript/ActionScript group), allows to avoid tedious typing when you need to define a function, variable or constant, to loop over … Continue reading

Posted in New Features | Tagged , , , , | 17 Comments

Editing HTML Inside of JS Literals

It often happens that we need to edit HTML code inside JavaScript literals. With Maia this is at last possible, and even with pleasure! Completion, quick documentation, and navigation for HTML, CSS and even JavaScript inside JavaScript literals is at … Continue reading

Posted in New Features | Tagged , , , | 2 Comments

Unwrap code constructs in JavaScript / ActionScript

Sometimes when you are editing JavaScript/ActionScript code, you need to remove, say, an enclosing if statement without touching a current code block. In Maia you can just invoke Unwrap/Remove action (Control+Shift+Delete in Windows keymap), which allows to precisely select which … Continue reading

Posted in New Features | Tagged , , , | Leave a comment

Inline Variable Refactoring for JavaScript / ActionScript

Next version of IntelliJ IDEA, code named Maia, brings you several new JavaScript and ActionScript refactorings. In this post we showcase one of them — Inline Variable, which works with local variables and ActionScript class fields. Pressing Control+Alt+N (default Windows … Continue reading

Posted in New Features | Tagged , , , , | Leave a comment

Code Inspections for Web Applications

If you ever coded a Web project, you know that all the errors in those HTML / JavaScript files are detected only during run time. Starting next build IntelliJ IDEA 9 (Maia) will help you to spot the problems much … Continue reading

Posted in New Features | Tagged , , , | Leave a comment

Debugging JavaScript in Mozilla Firefox

IntelliJ IDEA 9M1 supports debugging of JavaScript code in Mozilla Firefox. Just create a JavaScript Debug configuration, select Firefox from the Browser list and click OK:IntelliJ IDEA automatically installs plugin for Mozilla Firefox and executes the configuration.Note that you need … Continue reading

Posted in New Features | Tagged , , , | 21 Comments

Better Regular Expression Editing in JavaScript and ActionScript

If you ever tried to understand or edit regular expression like this in JavaScript or ActionScript: Then you are sure to find IntelliJ IDEA 9 a more helpful in this way. Now you can repeatedly press Ctrl+W to see non-capturing … Continue reading

Posted in New Features | Tagged , , , | 2 Comments