<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>JetBrains IntelliJ IDEA Blog</title>
	
	<link>http://blogs.jetbrains.com/idea</link>
	<description>tips &amp; tricks, news, how-to's</description>
	<pubDate>Wed, 08 Feb 2012 16:37:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/jetbrains_intellijidea" /><feedburner:info uri="jetbrains_intellijidea" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>IntelliJ IDEA 11.1 EAP begins</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/mDrTTJgogG8/</link>
		<comments>http://blogs.jetbrains.com/idea/2012/02/intellij-idea-111-eap-begins/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 16:34:35 +0000</pubDate>
		<dc:creator>yole</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=6584</guid>
		<description><![CDATA[We&#8217;re happy to announce the beginning of the Early Access Preview program for the next feature update of IntelliJ IDEA, version 11.1. This version will be released in a couple of months and will be a free upgrade for existing users of IntelliJ IDEA 11.
A brief list of features already implemented in the new EAP [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re happy to announce the beginning of the Early Access Preview program for the next feature update of IntelliJ IDEA, version 11.1. This version will be released in a couple of months and will be a free upgrade for existing users of IntelliJ IDEA 11.</p>
<p>A brief list of features already implemented in the new EAP includes:</p>
<ul>
<li>Continued work on UI changes (Project View, run/debug toolwindows UI redesigned);</p>
<li>Subversion 1.7 support (work in progress);
<li>Performance improvements in Git and Perforce integration;
<li>New Coverage view;
<li>New tree-based File Structure Popup;
<li>Improved popup for controlling Git branches (checkout, compare, delete, multi-root support);
<li>Highlighting of unused public members in Groovy code;
<li>Extract Closure refactoring for Groovy;
<li>New Flex project structure UI (work in progress);
<li>Spring support improvements;
<li>Gradle project synchronization support (work in progress);
<li>Android lint tool integration;
<li>Magic Constant inspection and code completion;
<li>Possibility to run JUnit or TestNG tests for any selection of classes or methods</ul>
<p>In the coming weeks we plan to publish blog posts describing each of the new features in more detail. And for the time being, you can <a href="http://confluence.jetbrains.net/display/IDEADEV/IDEA+11.1+EAP">download IntelliJ IDEA 11.1 EAP</a> try them out for yourself.</p>
<p>As always, your feedback is welcome in the <a href="http://youtrack.jetbrains.net/">issue tracker</a>.</p>
<p>Note that this EAP cycle does not include 30-day time-limited licenses in each build. In order to use these builds, you need to have a valid license for IntelliJ IDEA 11.</p>
<p><a href="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/02/idea11dot1project.png"><img src="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/02/idea11dot1project_th.png" alt="" title="Updated project tool-window UI" class="alignleft size-thumbnail wp-image-6586" /></a><a href="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/02/idea11dot1debugger.png"><img src="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/02/idea11dot1debugger_th.png" alt="" title="Updated debugger UI" class="alignleft size-thumbnail wp-image-6586" /></a></p>
<p><a href="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/02/gitbranchpopup.png"><img src="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/02/gitbranchpopup_th.png" alt="" title="Git Branch Popup" class="alignleft size-thumbnail wp-image-6586" /></a><a href="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/02/newfilestructurepopup.png"><img src="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/02/newfilestructurepopup_th.png" alt="" title="New FileStructure Popup" class="alignleft size-thumbnail wp-image-6586" /></a><br />
<a href="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/02/coverageview.png"><img src="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/02/coverageview_th.png" alt="" title="New Coverage View" class="alignleft size-thumbnail wp-image-6586" /></a></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/mDrTTJgogG8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2012/02/intellij-idea-111-eap-begins/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2012/02/intellij-idea-111-eap-begins/</feedburner:origLink></item>
		<item>
		<title>IntelliJ IDEA 11.0.2 update available</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/WG1ipeSEHnM/</link>
		<comments>http://blogs.jetbrains.com/idea/2012/02/intellij-idea-1102-update-available/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 15:14:52 +0000</pubDate>
		<dc:creator>Eugene Toporov</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=6571</guid>
		<description><![CDATA[Before switching completely to some new tasks, we&#8217;re releasing IntelliJ IDEA 11.0.2, another maintenance update for the latest IntelliJ IDEA 11.
This update fixes some most annoying bugs and performance problems found. Check out the full release notes for the list of resolved issues and download the update. If you’re already running version 11 (or 11.0.1) [...]]]></description>
			<content:encoded><![CDATA[<p>Before switching completely to some new tasks, we&#8217;re releasing <strong>IntelliJ IDEA 11.0.2</strong>, another maintenance update for the latest IntelliJ IDEA 11.</p>
<p>This update fixes some most annoying bugs and performance problems found. Check out the <a href="http://confluence.jetbrains.net/display/IDEADEV/IntelliJ+IDEA+11.0.2+Release+Notes">full release notes</a> for the list of resolved issues and <a href="http://www.jetbrains.com/idea/download">download the update</a>. If you’re already running version 11 (or 11.0.1) use the “Check for Update” action from the IDE and install the patch.</p>
<p>Develop with pleasure and stay tuned for exciting news coming soon.<br />
<em>-The IntelliJ IDEA Team<br />
</em></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/WG1ipeSEHnM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2012/02/intellij-idea-1102-update-available/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2012/02/intellij-idea-1102-update-available/</feedburner:origLink></item>
		<item>
		<title>IntelliJ IDEA 11.0.2 Release Candidate</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/EwI-95NHmCs/</link>
		<comments>http://blogs.jetbrains.com/idea/2012/01/intellij-idea-1102-release-candidate/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 19:00:17 +0000</pubDate>
		<dc:creator>yole</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[eap]]></category>

		<category><![CDATA[Nika]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=6569</guid>
		<description><![CDATA[This week we&#8217;re releasing a new Early Access Preview build for IntelliJ IDEA 11.0.2, which is also the Release Candidate for the new version. Besides the usual amount of bugfixes, a noteworthy change is support for new versions of Google Chrome in the JavaScript debugger plugin.
You can download IntelliJ IDEA 11.0.2 Release Candidate from the [...]]]></description>
			<content:encoded><![CDATA[<p>This week we&#8217;re releasing a new Early Access Preview build for IntelliJ IDEA 11.0.2, which is also the Release Candidate for the new version. Besides the <a href="http://confluence.jetbrains.net/display/IDEADEV/IntelliJ+IDEA+11+111.255+Release+Notes">usual amount of bugfixes</a>, a noteworthy change is support for new versions of Google Chrome in the JavaScript debugger plugin.</p>
<p>You can <a href="http://confluence.jetbrains.net/display/IDEADEV/IDEA+11+EAP">download IntelliJ IDEA 11.0.2 Release Candidate</a> from the EAP page.</p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/EwI-95NHmCs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2012/01/intellij-idea-1102-release-candidate/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2012/01/intellij-idea-1102-release-candidate/</feedburner:origLink></item>
		<item>
		<title>IntelliJ IDEA 11.0.2 EAP</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/D3pETke3V4s/</link>
		<comments>http://blogs.jetbrains.com/idea/2012/01/intellij-idea-1102-eap/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 16:39:10 +0000</pubDate>
		<dc:creator>yole</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[eap]]></category>

		<category><![CDATA[Nika]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=6562</guid>
		<description><![CDATA[Today we&#8217;ve published the first Early Access Preview build for the next bugfix update of IntelliJ IDEA 11. The main highlights include:

Perforce integration uses &#8216;p4 move&#8217; command for moves and renames when available;
Spring integration performance improvements;
Other bugfixes listed in the release notes.

You can download the new build from the EAP page.
]]></description>
			<content:encoded><![CDATA[<p>Today we&#8217;ve published the first Early Access Preview build for the next bugfix update of IntelliJ IDEA 11. The main highlights include:</p>
<ul>
<li>Perforce integration uses &#8216;p4 move&#8217; command for moves and renames when available;</li>
<li>Spring integration performance improvements;</li>
<li>Other bugfixes listed in the <a href="http://confluence.jetbrains.net/display/IDEADEV/IntelliJ+IDEA+11+111.228+Release+Notes">release notes</a>.</li>
</ul>
<p>You can download the new build from the <a href="http://confluence.jetbrains.net/display/IDEADEV/IDEA+11+EAP">EAP page</a>.</p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/D3pETke3V4s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2012/01/intellij-idea-1102-eap/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2012/01/intellij-idea-1102-eap/</feedburner:origLink></item>
		<item>
		<title>Do you know where ‘Go To…’ can get you?</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/4OqV2XotAe8/</link>
		<comments>http://blogs.jetbrains.com/idea/2012/01/do-you-know-where-go-to-can-get-you/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 16:54:58 +0000</pubDate>
		<dc:creator>Anna Kozlova</dc:creator>
		
		<category><![CDATA[FYI]]></category>

		<category><![CDATA[Tips &#038; Tricks]]></category>

		<category><![CDATA[code navigation]]></category>

		<category><![CDATA[Navigation]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=6530</guid>
		<description><![CDATA[How often do you use &#8216;Go To Class/File/Symbol&#8217; feature in IntelliJ IDEA? Pretty often I would guess. But do you know everything you can do with it? Let me go through a couple of often overlooked gems.
Do you know that when you search for file or class you can preview an image (Ctrl-Shift-I) or see [...]]]></description>
			<content:encoded><![CDATA[<p>How often do you use &#8216;Go To Class/File/Symbol&#8217; feature in IntelliJ IDEA? Pretty often I would guess. But do you know everything you can do with it? Let me go through a couple of often overlooked gems.</p>
<p>Do you know that when you search for file or class you can preview an image (Ctrl-Shift-I) or see a quick doc (Ctrl-Q)?</p>
<p><a href="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/01/preview.png"><img class="aligncenter size-full wp-image-6531" title="preview" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/01/preview.png" alt=""/></a></p>
<p>It is also possible to open multiple items in the editor (multiselect with Ctrl or Shift) or run multiple selected tests right from the search (Ctrl-Shift-F10).</p>
<p><a href="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/01/tests.png"><img class="aligncenter size-full wp-image-6532" title="tests" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/01/tests.png" alt="" /></a></p>
<p>And you can open all search results in the &#8216;Find&#8217; tool-window to process them one by one later.</p>
<p><img class="aligncenter size-full wp-image-6534" title="showallinview" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/01/showallinview.png" alt="" /></p>
<p><img class="aligncenter size-full wp-image-6533" title="find" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2012/01/find.png" alt=""  /></p>
<p>Did I mention your favorite feature? No? Please, share it with everyone! <img src='http://blogs.jetbrains.com/idea/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/4OqV2XotAe8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2012/01/do-you-know-where-go-to-can-get-you/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2012/01/do-you-know-where-go-to-can-get-you/</feedburner:origLink></item>
		<item>
		<title>IntelliJ IDEA’s Move Refactoring for ActionScript/Flex gets Smarter</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/9mB3AlbbDME/</link>
		<comments>http://blogs.jetbrains.com/idea/2012/01/intellij-ideas-move-refactoring-for-actionscriptflex-gets-smarter/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 11:51:00 +0000</pubDate>
		<dc:creator>ksafonov</dc:creator>
		
		<category><![CDATA[FYI]]></category>

		<category><![CDATA[How-To's]]></category>

		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Nika]]></category>

		<category><![CDATA[refactoring]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=5577</guid>
		<description><![CDATA[At JetBrains we not only bring you new powerful features that make your life better, but also take care to polish the good old stuff to perfection. Let&#8217;s take a look at the Move refactoring for ActionScript classes, Flex components and all other types of top-level declarations (namespaces, functions, variables and constants), that has just [...]]]></description>
			<content:encoded><![CDATA[<p>At JetBrains we not only bring you <a href="http://blogs.jetbrains.com/idea/2010/12/change-method-signature-refactoring-for-actionscript-and-flex/">new powerful features</a> that make your life better, but also take care to polish the good old stuff to perfection. Let&#8217;s take a look at the <strong>Move</strong> refactoring for ActionScript classes, Flex components and all other types of top-level declarations (namespaces, functions, variables and constants), that has just got a little smarter. By the way, this refactoring also works for <em>inner declarations</em> (also known as helpers or file-local declarations), defined in ActionScript file out of the package statement.</p>
<p><span id="more-5577"></span></p>
<p>Generally speaking there&#8217;s nothing special about <strong>Move refactoring</strong>, but in complex multi-module projects choosing a right folder may turn out harder than it seems to be. Well, not anymore it isn&#8217;t, and here&#8217;s the proof.</p>
<p>We&#8217;ll start with, invoking <strong>Move</strong> action by pressing <strong>F6</strong> in editor, Project view or UML diagram (don&#8217;t forget to select your class/top-level function/whatever else first):</p>
<p><img class="alignnone size-full wp-image-5580" title="dialog3" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/05/dialog3.png" alt="" width="379" height="190" /></p>
<p>Here we specify the target package (thinking in terms of packages instead of directories is a lot more natural, isn&#8217;t it?). As we type, IntelliJ IDEA assists us with completion and highlights packages that don&#8217;t exist with red, which means they will be created on-the-fly, which is good, because we can start coding right away without preparing package structure in advance.</p>
<p>We can opt to searching for out-of-the-code usages (e.g. comments, string constants and properties files), and finally, if we need to move a class to a different source folder (e.g. to another module), all we need to to is to select an appropriate option! This way, after pressing <strong>Refactor</strong> or <strong>Preview</strong> we&#8217;ll be able to choose which module and source root to move to (current source root will be preselected):</p>
<p><img class="alignnone size-full wp-image-5581" title="chooser" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/05/chooser.png" alt="" width="491" height="240" /></p>
<p>And that&#8217;s it! No need to bother with directories anymore!</p>
<p>Of course, all changes can be previewed first, so that we can see the entire picture without making any actual changes, which is cool, because not all changes are safe. Press <strong>Preview</strong> and here we go:</p>
<p><img class="alignnone size-full wp-image-5582" title="preview" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/05/preview.png" alt="" width="542" height="475" /></p>
<p>All the usages of moved element grouped by type and location, plus we can easily exclude usages we don&#8217;t want modified.</p>
<p>Another interesting case is to move inner class to the top-level. This may be useful when some utility class has grown enough to deserve a separate file. Here&#8217;s an example:</p>
<p><img class="alignnone size-full wp-image-5585" title="innerclass2" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/05/innerclass2.png" alt="" width="336" height="187" /></p>
<p>Just as before, place the caret at the class and press <strong>F6</strong>:</p>
<p><img class="alignnone size-full wp-image-5586" title="dialog4" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/05/dialog4.png" alt="" width="379" height="217" /></p>
<p>Now accept the name and package of a new top-level class, and IntelliJ IDEA will take care about the rest.</p>
<p>We wish you safe refactoring, and keep watching this blog for the latest news!</p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/9mB3AlbbDME" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2012/01/intellij-ideas-move-refactoring-for-actionscriptflex-gets-smarter/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2012/01/intellij-ideas-move-refactoring-for-actionscriptflex-gets-smarter/</feedburner:origLink></item>
		<item>
		<title>Play! Console in IntelliJ IDEA</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/5bL73fP_Gp4/</link>
		<comments>http://blogs.jetbrains.com/idea/2012/01/play-console-in-intellij-idea/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 14:37:55 +0000</pubDate>
		<dc:creator>serega.vasiliev</dc:creator>
		
		<category><![CDATA[Demos]]></category>

		<category><![CDATA[In Development]]></category>

		<category><![CDATA[News &#038; Events]]></category>

		<category><![CDATA[Opinions]]></category>

		<category><![CDATA[Nika]]></category>

		<category><![CDATA[Play Framework]]></category>

		<category><![CDATA[Play!]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=6169</guid>
		<description><![CDATA[Did you know that IntelliJ IDEA 11 provides an integrated Play Framework console? 
Start it from &#8220;Tools&#8221; menu, complete Play! commands, use command history, analyze output.
Play! with pleasure!

]]></description>
			<content:encoded><![CDATA[<p>Did you know that IntelliJ IDEA 11 provides an integrated Play Framework console? </p>
<p>Start it from &#8220;Tools&#8221; menu, complete Play! commands, use command history, analyze output.<br />
Play! with pleasure!</p>
<p><iframe src="http://www.screenr.com/embed/Qvus" width="600" height="366" frameborder="0"></iframe></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/5bL73fP_Gp4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2012/01/play-console-in-intellij-idea/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2012/01/play-console-in-intellij-idea/</feedburner:origLink></item>
		<item>
		<title>Profiling CPU in Flash and Flex Applications in IntelliJ IDEA</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/g3ZJXOXj8WQ/</link>
		<comments>http://blogs.jetbrains.com/idea/2012/01/profiling-cpu-in-flash-and-flex-applications-in-intellij-idea/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 11:31:57 +0000</pubDate>
		<dc:creator>fedor.korotkov</dc:creator>
		
		<category><![CDATA[Demos]]></category>

		<category><![CDATA[FYI]]></category>

		<category><![CDATA[Plugins]]></category>

		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Nika]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[profiler]]></category>

		<category><![CDATA[Xena]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=6370</guid>
		<description><![CDATA[Hello guys! Just recently we&#8217;ve published an update to our Flash/Flex Profiler plugin that gives you a powerful and easy to use toolset for profiling of Flash-based applications in IntelliJ IDEA.
Let us give you a brief overview of what you can do with it.

Sure, the first thing to start with is installation. Nothing complex here—go [...]]]></description>
			<content:encoded><![CDATA[<p>Hello guys! Just recently we&#8217;ve published an update to our <a href="http://plugins.intellij.net/plugin/?idea&amp;id=5351" target="_blank">Flash/Flex Profiler plugin</a> that gives you a powerful and easy to use toolset for profiling of Flash-based applications in IntelliJ IDEA.</p>
<p>Let us give you a brief overview of what you can do with it.</p>
<p><span><span id="more-6370"></span></span></p>
<p>Sure, the first thing to start with is installation. Nothing complex here—go to File menu, open Settings, then click Plugins and Browse repositories (if you&#8217;re on Mac OS, the path is slightly different—you should look in IntelliJ IDEA, then Preferences, Plugins, and then Browse repositories). After you&#8217;re there, find <em>ActionScript Profiler</em> and install it.</p>
<p><img class="alignnone size-full wp-image-6421" title="install-plugin" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/12/install-plugin.png" alt="" width="386" height="72" /></p>
<p>Let&#8217;s play with this extremely simple Flex component to set an example.</p>
<p><img class="alignnone size-full wp-image-6416" title="example-source-code" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/12/example-source-code.png" alt="" width="458" height="323" /></p>
<p>As you can see, it&#8217;s a rather heavy computation implemented in <em>Task</em>.calculateResult() method that is invoked 1000 times in a cycle from <em>clickHandler()</em> function that handles the mouse click.</p>
<p>To start the profiling we open context menu for the main class and click Profile:</p>
<p><img class="alignnone size-full wp-image-6417" title="profile-from-context-menu" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/12/profile-from-context-menu.png" alt="" width="482" height="226" /></p>
<p>Once the application is built and started, an empty Profiling window opens. Let&#8217;s tell profiler to start collecting CPU usage data by clicking Start CPU Profiling.</p>
<p><img class="alignnone size-full wp-image-6382" title="start-cpu" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/12/start-cpu.png" alt="" width="437" height="81" /></p>
<p>Now switch to our application, click Calculate and wait for resulting popup to appear. Then, we need to go back to IDE and click Stop CPU Profiling to compute the results—and here they are!</p>
<p><strong>Invoked functions</strong> table shows the list of called functions, with child nodes representing points from which parent node was called:</p>
<p><img class="alignnone size-full wp-image-6418" title="invoked-functions2" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/12/invoked-functions2.png" alt="" width="684" height="194" /></p>
<p>We can easily compare timings by sorting the table by <strong>self time</strong> or <strong>cumulative time</strong> (just click column header for that).</p>
<p><strong>Note:</strong> <em>Edit source</em> action is available for every item either via context menu or with F4 keyboard shortcut, so you can go to source code directly from profiling results.</p>
<p><strong>Merged callees</strong> table at the bottom shows all the functions that were called (directly or indirectly) from the function selected in the upper table. You can sort this table as well to compare every detail and expand items to drill down through the call chains.</p>
<p><img class="alignnone size-full wp-image-6419" title="merged-callees2" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/12/merged-callees2.png" alt="" width="684" height="151" /></p>
<p>This concludes today&#8217;s post about CPU profiling. We hope you enjoyed it. In the next posts we are going to take a look at memory profiling capabilities and memory leaks hunting techniques. Please report any problems to the bug tracker. Stay tuned!</p>
<p>Plugin is compatible with <a href="http://www.jetbrains.com/idea">IntelliJ IDEA</a> 11.0 and 10.5. It was tested with 32-bit Flash Player 9, 10 and 11 on Windows (32- and 64-bit), Mac OS (32-bit and 64-bit) and Linux (32-bit).</p>
<p><em>Profile with pleasure!</em></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/g3ZJXOXj8WQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2012/01/profiling-cpu-in-flash-and-flex-applications-in-intellij-idea/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2012/01/profiling-cpu-in-flash-and-flex-applications-in-intellij-idea/</feedburner:origLink></item>
		<item>
		<title>IntelliJ IDEA 11.0.1</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/k9jFt0zqgMQ/</link>
		<comments>http://blogs.jetbrains.com/idea/2011/12/intellij-idea-1101/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 17:39:47 +0000</pubDate>
		<dc:creator>yole</dc:creator>
		
		<category><![CDATA[News &#038; Events]]></category>

		<category><![CDATA[Nika]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=6509</guid>
		<description><![CDATA[What could be a better way for the IntelliJ IDEA team to conclude the year 2011 than to release a bugfix update? And that&#8217;s exactly what we&#8217;re doing.
To upgrade to the new version, simply use the &#8220;Check for Update&#8221; action if you&#8217;re already running version 11, or grab the complete installer from the download page. [...]]]></description>
			<content:encoded><![CDATA[<p>What could be a better way for the IntelliJ IDEA team to conclude the year 2011 than to release a bugfix update? And that&#8217;s exactly what we&#8217;re doing.</p>
<p>To upgrade to the new version, simply use the &#8220;Check for Update&#8221; action if you&#8217;re already running version 11, or grab the complete installer from the <a href="http://www.jetbrains.com/idea/download/index.html">download page</a>. And of course, the <a href="http://confluence.jetbrains.net/display/IDEADEV/IntelliJ+IDEA+11.0.1+Release+Notes">release notes</a> for the new build are also available.</p>
<p>Happy New Year, and see you again in 2012!</p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/k9jFt0zqgMQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2011/12/intellij-idea-1101/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2011/12/intellij-idea-1101/</feedburner:origLink></item>
		<item>
		<title>Favorites tool-window in IntelliJ IDEA 11</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/cqYIWRCwriE/</link>
		<comments>http://blogs.jetbrains.com/idea/2011/12/favorites-tool-window-in-intellij-idea-11/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 19:03:48 +0000</pubDate>
		<dc:creator>Konstantin Bulenkov</dc:creator>
		
		<category><![CDATA[Tips &#038; Tricks]]></category>

		<category><![CDATA[code navigation]]></category>

		<category><![CDATA[Favorites]]></category>

		<category><![CDATA[Navigation]]></category>

		<category><![CDATA[Nika]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=6353</guid>
		<description><![CDATA[When working with big projects we always come back to 10-20 items/files where we do the most of our work.
IntelliJ IDEA helps you collecting all these items in one place &#8212; &#8216;Favorites&#8217;. It&#8217;s easy to add a file, a class or a method to the Favorites by simply pressing Alt+Shift+F. You can also drag and [...]]]></description>
			<content:encoded><![CDATA[<p>When working with big projects we always come back to 10-20 items/files where we do the most of our work.</p>
<p>IntelliJ IDEA helps you collecting all these items in one place &mdash; <strong>&#8216;Favorites&#8217;</strong>. It&#8217;s easy to add a file, a class or a method to the Favorites by simply pressing <strong>Alt+Shift+F</strong>. You can also drag and drop items to the Favorites. </p>
<p>And now with &#8216;Favorites&#8217; being a separate tool-window, just press <strong>Alt+2</strong> (or <strong>Cmd+2</strong>) whenever you need to access one of your precious items again.</p>
<p><img class="size-full wp-image-6354 alignnone" title="Favorites tool-window" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2011/12/ss20111206140720.png" alt="" width="417" height="153" /></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/cqYIWRCwriE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2011/12/favorites-tool-window-in-intellij-idea-11/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2011/12/favorites-tool-window-in-intellij-idea-11/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.222 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-08 11:38:20 -->

