<?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>Thu, 28 Jan 2010 15:03:28 +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>Live Templates in JavaScript/ActionScript/Flex</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/dzGrb_5ES4c/</link>
		<comments>http://blogs.jetbrains.com/idea/2010/01/flex-live-templates/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 09:56:02 +0000</pubDate>
		<dc:creator>Alexander Doroshko</dc:creator>
		
		<category><![CDATA[FYI]]></category>

		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[Live Templates]]></category>

		<category><![CDATA[maia]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2568</guid>
		<description><![CDATA[Writing JavaScript/ActionScript/Flex code becomes easier with upcoming 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 loop over an Array, Vector or anything else. Luckily, some abbreviations are the same as with Java: iter, itar, ritar. Here&#8217;s the list [...]]]></description>
			<content:encoded><![CDATA[<p>Writing JavaScript/ActionScript/Flex code becomes easier with upcoming <a href="http://www.jetbrains.com/idea">IntelliJ IDEA</a> 9.0.2. New set of live templates (see Settings dialog (<strong>Ctrl+Alt+S</strong>), Live Templates, JavaScript/ActionScript group), allows to avoid tedious typing when you need to loop over an Array, Vector or anything else. Luckily, some abbreviations are the same as with Java: <strong>iter</strong>, <strong>itar</strong>, <strong>ritar</strong>. Here&#8217;s the list of currently available live templates:</p>
<table style="collapse;" border="0" cellspacing="5">
<tbody>
<tr bgcolor="#cccccc">
<th>Abbreviation</th>
<th>Description</th>
</tr>
<tr bgcolor="#eeeeee">
<td><strong>iter</strong></td>
<td>Iterate (for each..in)</td>
</tr>
<tr bgcolor="#cccccc">
<td><strong>itin</strong></td>
<td>Iterate (for..in)</td>
</tr>
<tr bgcolor="#eeeeee">
<td><strong>itar</strong></td>
<td>Iterate elements of array</td>
</tr>
<tr bgcolor="#cccccc">
<td><strong>ritar</strong></td>
<td>Iterate elements of array in reverse order</td>
</tr>
</tbody>
</table>
<p><span id="more-2568"></span>To use a live template, just type its abbreviation anywhere in your code and press <strong>Tab</strong>.<br />
<img class="aligncenter size-full wp-image-2579" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2010/01/iter.png" alt="" width="554" height="90" /></p>
<p><img class="aligncenter size-full wp-image-2578" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2010/01/array.png" alt="" width="600" height="105" /></p>
<p><strong>Ctrl+J</strong> shortcut shows you all live templates available for current context.</p>
<p><img class="aligncenter size-full wp-image-2581" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2010/01/live_templates.png" alt="" width="451" height="150" /><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2010%2F01%2Fflex-live-templates%2F';
  addthis_title  = 'Live+Templates+in+JavaScript%2FActionScript%2FFlex';
  addthis_pub    = 'jetbrains';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/dzGrb_5ES4c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2010/01/flex-live-templates/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2010/01/flex-live-templates/</feedburner:origLink></item>
		<item>
		<title>GWT UiBinder support</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/sspgTTPJBiQ/</link>
		<comments>http://blogs.jetbrains.com/idea/2010/01/gwt-uibinder-support/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 13:03:07 +0000</pubDate>
		<dc:creator>Nikolay Chashnikov</dc:creator>
		
		<category><![CDATA[How-To's]]></category>

		<category><![CDATA[In Development]]></category>

		<category><![CDATA[GWT]]></category>

		<category><![CDATA[maia]]></category>

		<category><![CDATA[UiBinder]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2562</guid>
		<description><![CDATA[The first IntelliJ IDEA 9.0.2 EAP build will add support for UiBinder, new functionality introduced in GWT 2.0. IntelliJ IDEA will understand tags and attributes in ui.xml files:
Inconsistencies between ui.xml file and associated Java class will be highlighted:
You can jump from field to the corresponding tag by using icon on the gutter:
Also IDE provides actions [...]]]></description>
			<content:encoded><![CDATA[<p>The first IntelliJ IDEA 9.0.2 EAP build will add support for <a href="http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html">UiBinder</a>, new functionality introduced in GWT 2.0. IntelliJ IDEA will understand tags and attributes in ui.xml files:<img class="alignnone size-full wp-image-2563" title="Tag completion in ui.xml" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2010/01/gwtui_tag_completion.png" alt="" width="531" height="129" /></p>
<p>Inconsistencies between ui.xml file and associated Java class will be highlighted:<img class="alignnone size-full wp-image-2564" title="ui.xml: create field" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2010/01/gwtui_create_field.png" alt="" width="441" height="129" /></p>
<p>You can jump from field to the corresponding tag by using icon on the gutter:<img class="alignnone size-full wp-image-2565" title="Completion in @UiHandler" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2010/01/gwtui_handler_completion.png" alt="" width="380" height="171" /></p>
<p>Also IDE provides actions to quickly create new ui.xml file with associated Java class (in <strong>Edit | New | Google Web Toolkit</strong> menu) and to generate @UiHandler method (in <strong>Code | Generate</strong> menu).</p>
<p>Expect <a href="http://www.jetbrains.net/confluence/display/IDEADEV/Maia+EAP">new version EAP</a> to be published shortly.<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2010%2F01%2Fgwt-uibinder-support%2F';
  addthis_title  = 'GWT+UiBinder+support';
  addthis_pub    = 'jetbrains';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/sspgTTPJBiQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2010/01/gwt-uibinder-support/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2010/01/gwt-uibinder-support/</feedburner:origLink></item>
		<item>
		<title>Resize (tool) windows with keyboard</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/rKocJPF4e3U/</link>
		<comments>http://blogs.jetbrains.com/idea/2010/01/resize-tool-windows-with-keyboard/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 06:35:59 +0000</pubDate>
		<dc:creator>Kirill Kalishev</dc:creator>
		
		<category><![CDATA[How-To's]]></category>

		<category><![CDATA[In Development]]></category>

		<category><![CDATA[maia]]></category>

		<category><![CDATA[user interface]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2557</guid>
		<description><![CDATA[Since IntelliJ IDEA is so much loved by keyboard addicts, here is a tiny yet helpful feature introduced in version 9.0.2: you can change size of a tool window by means of your keyboard.
Say, you&#8217;re doing &#8220;find usages&#8221;, the tool window is popping up and it&#8217;s too small for you to comfortably look at the [...]]]></description>
			<content:encoded><![CDATA[<p>Since IntelliJ IDEA is so much loved by keyboard addicts, here is a tiny yet helpful feature introduced in version 9.0.2: you can change size of a tool window by means of your keyboard.</p>
<p>Say, you&#8217;re doing &#8220;find usages&#8221;, the tool window is popping up and it&#8217;s too small for you to comfortably look at the usages tree. Now you don&#8217;t have to grab a mouse to stretch it up, just hit Ctrl-Shift-Up (Meta-Shift-Up for Mac users) and your tool window is getting bigger.</p>
<p>So, if you need to resize a tool window: focus it (by Alt-number or <a href="http://blogs.jetbrains.com/idea/2009/07/ctrltab-switcher-in-maia/">Ctrl-Tab</a>) and then use Ctrl-Shift plus an arrow key that points to the direction you want.</p>
<p><a href="http://blogs.jetbrains.com/idea/wp-content/uploads/2010/01/move-annotated.png"><img class="aligncenter size-medium wp-image-2558" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2010/01/move-annotated-300x189.png" alt="" width="300" height="189" /></a></p>
<p>You can also use these arrow shortcuts to resize dialogs and actually any window that IntelliJ IDEA shows. Say, you opened the project structure dialog and it&#8217;s too narrow for you. Use Ctrl-Shift-Right and Ctrl-Shift-Down to make it bigger.<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2010%2F01%2Fresize-tool-windows-with-keyboard%2F';
  addthis_title  = 'Resize+%28tool%29+windows+with+keyboard';
  addthis_pub    = 'jetbrains';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/rKocJPF4e3U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2010/01/resize-tool-windows-with-keyboard/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2010/01/resize-tool-windows-with-keyboard/</feedburner:origLink></item>
		<item>
		<title>IntelliJ IDEA 9.0.1 released</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/5SSjLGJx7Kk/</link>
		<comments>http://blogs.jetbrains.com/idea/2010/01/intellij-idea-901-released/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 16:27:28 +0000</pubDate>
		<dc:creator>yole</dc:creator>
		
		<category><![CDATA[News &#038; Events]]></category>

		<category><![CDATA[maia]]></category>

		<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2551</guid>
		<description><![CDATA[IntelliJ IDEA 9.0.1, the first bugfix update for IntelliJ IDEA 9, is now available. With almost 200 resolved issues in such areas as Flex support, version control integration, Groovy support and others, it&#8217;s a strongly recommended upgrade for all users of both Ultimate and Community editions of IntelliJ IDEA 9.
Download IntelliJ IDEA 9.0.1 now, and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>IntelliJ IDEA 9.0.1</strong>, the first bugfix update for IntelliJ IDEA 9, is now available. With almost 200 resolved issues in such areas as Flex support, version control integration, Groovy support and others, it&#8217;s a strongly recommended upgrade for all users of both Ultimate and Community editions of IntelliJ IDEA 9.</p>
<p><a href="http://www.jetbrains.com/idea/download/">Download IntelliJ IDEA 9.0.1</a> now, and check the <a href="http://www.jetbrains.com/idea/features/release_notes901.html">release notes</a> for the new update.<br />
<br /><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2010%2F01%2Fintellij-idea-901-released%2F';
  addthis_title  = 'IntelliJ+IDEA+9.0.1+released';
  addthis_pub    = 'jetbrains';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/5SSjLGJx7Kk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2010/01/intellij-idea-901-released/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2010/01/intellij-idea-901-released/</feedburner:origLink></item>
		<item>
		<title>Flex SDK Sources and Flexmojos Projects</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/e7LQBoVBhSk/</link>
		<comments>http://blogs.jetbrains.com/idea/2010/01/flex-sdk-sources-in-flexmojos/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 17:48:08 +0000</pubDate>
		<dc:creator>Alexander Doroshko</dc:creator>
		
		<category><![CDATA[How-To's]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[flexmojos]]></category>

		<category><![CDATA[maia]]></category>

		<category><![CDATA[Maven]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2528</guid>
		<description><![CDATA[If you are working with Flexmojos Maven projects in IntelliJ IDEA 9, and have imported Flexmojos project as described in this post, and are planning to debug your application and browse through Flex SDK sources, this post is a must-read for you. Inside you will find  details on how to configure IntelliJ IDEA so [...]]]></description>
			<content:encoded><![CDATA[<p>If you are working with <a href="http://flexmojos.sonatype.org/">Flexmojos</a> Maven projects in <a href="http://www.jetbrains.com/idea/">IntelliJ IDEA</a> 9, and have imported Flexmojos project as described in <a href="http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/">this post</a>, and are planning to debug your application and browse through <strong>Flex SDK sources</strong>, this post is a must-read for you. Inside you will find  details on how to configure IntelliJ IDEA so that it properly recognizes SDK sources and their ASdocs.</p>
<p><span id="more-2528"></span></p>
<p>When IntelliJ IDEA imports a Maven project, it creates a bunch of module libraries that match <em>pom</em> dependencies. For each library it also configures sources and documentation, assuming that they are located in <strong>*-source.jar</strong> and <strong>*-javadoc.jar</strong> respectively. Unless you have these files in your local Maven repository, you&#8217;ll see them marked with red (see Projects Structure dialog (<strong>Ctrl+Alt+Shift+S</strong>), Libraries section).</p>
<p><img class="aligncenter size-full wp-image-2532" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2010/01/library.png" alt="" width="600" height="184" /></p>
<p>If there is a remote Maven repository containing these files, you can download them via Maven tool window.</p>
<p><img class="aligncenter size-full wp-image-2536" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2010/01/maven_action1.png" alt="" width="402" height="112" /></p>
<p>For example, standard Flexmojos repository contains *-sources.jar files for the latest Flex SDK distributions (3.5.0.12683 and 4.0.0.12575): <a href="http://repository.sonatype.org/content/groups/flexgroup/">http://repository.sonatype.org/content/groups/flexgroup/</a>, which is enough both for debugging code and viewing documentation, because IntelliJ IDEA automatically picks up ASdoc from sources.</p>
<p>If remote repository does not contain Flex SDK sources, you can set them up them manually, but consider that you&#8217;ll have to do a lot of routine work yourself &mdash; SDK sources should be individually configured for each module library. You may download a standard Flex SDK installation and keep it somewhere on your computer, and then add source folders to Maven libraries according to the following table.</p>
<table border="0" style="border-collapse:collapse;" cellspacing="5">
<tbody>
<tr bgcolor="#CCCCCC">
<th>Flex Library</th>
<th>Source Folder</th>
</tr>
<tr bgcolor="#EEEEEE">
<td>com.adobe.flex.framework:framework:swc</td>
<td>[Flex SDK]/frameworks/projects/framework/src/</td>
</tr>
<tr bgcolor="#CCCCCC">
<td>com.adobe.flex.framework:flex:swc</td>
<td>[Flex SDK]/frameworks/projects/flex/src/</td>
</tr>
<tr bgcolor="#EEEEEE">
<td>com.adobe.flex.framework:rpc:swc</td>
<td>[Flex SDK]/frameworks/projects/rpc/src/</td>
</tr>
<tr bgcolor="#CCCCCC">
<td>com.adobe.flex.framework:utilities</td>
<td>[Flex SDK]/frameworks/projects/utilities/src/</td>
</tr>
<tr bgcolor="#EEEEEE">
<td>com.adobe.flex.framework:osmf:swc</td>
<td>[Flex SDK]/frameworks/projects/osmf/src/</td>
</tr>
<tr bgcolor="#CCCCCC">
<td>com.adobe.flex.framework:spark:swc</td>
<td>[Flex SDK]/frameworks/projects/spark/src/</td>
</tr>
<tr bgcolor="#EEEEEE">
<td>com.adobe.flex.framework:sparkskins:swc</td>
<td>[Flex SDK]/frameworks/projects/sparkskins/src/</td>
</tr>
<tr bgcolor="#CCCCCC">
<td>com.adobe.flex.framework:textLayout:swc</td>
<td>[Flex SDK]/frameworks/projects/textLayout/src/</td>
</tr>
</tbody>
</table>
<p>Note that AIR-related libraries have similar source structure and locations.<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2010%2F01%2Fflex-sdk-sources-in-flexmojos%2F';
  addthis_title  = 'Flex+SDK+Sources+and+Flexmojos+Projects';
  addthis_pub    = 'jetbrains';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/e7LQBoVBhSk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2010/01/flex-sdk-sources-in-flexmojos/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2010/01/flex-sdk-sources-in-flexmojos/</feedburner:origLink></item>
		<item>
		<title>Creating live templates from… templates</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/9f1GSkKL4do/</link>
		<comments>http://blogs.jetbrains.com/idea/2009/12/save-as-live-template/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 18:07:07 +0000</pubDate>
		<dc:creator>Peter Gromov</dc:creator>
		
		<category><![CDATA[Tips &#038; Tricks]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[Live Templates]]></category>

		<category><![CDATA[surround with]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2302</guid>
		<description><![CDATA[Sometimes I find myself writing repetitive code constructs without being able to extract common code due to Java syntax hmm&#8230; let&#8217;s call them peculiarities. &#8216;Sounds like a job for a live template&#8217;, I think, and I simply create it. Here&#8217;s how. The documentation has it too, but a good example never hurts.
Let&#8217;s suppose you have [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I find myself writing repetitive code constructs without being able to extract common code due to Java syntax hmm&#8230; let&#8217;s call them peculiarities. &#8216;Sounds like a job for a live template&#8217;, I think, and I simply create it. Here&#8217;s how. The <a href="http://www.jetbrains.com/idea/webhelp/creating-and-editing-live-templates.html">documentation</a> has it too, but a good example never hurts.</p>
<p>Let&#8217;s suppose you have <a href="http://en.wikipedia.org/wiki/Readers-writers_problem">read/write synchronization</a> in your project, and from time to time you need to wrap a bunch of statements in, say, a read action. This involves putting them into a <code>Runnable</code> and giving the latter to some <code>runReadAction</code> method. Do you still do this manually? You don&#8217;t need to, IntelliJ IDEA will help you!</p>
<p>First, find an existing code which already invokes the read action and select it:</p>
<p><img class="alignnone size-full wp-image-2303" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/screen-shot-2009-11-08-at-72530-pm.png" alt="" width="481" height="274" /></p>
<p>Go to <em>Tools</em> menu and choose <em>Save as Live Template</em> there:</p>
<p><img class="alignnone size-full wp-image-2304" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/screen-shot-2009-11-08-at-72628-pm.png" alt="" width="273" height="239" /></p>
<p>You&#8217;ll see a typical <em>Edit Live Template</em> dialog with the text you&#8217;ve selected. Note that all the class references are qualified there and <em>Shorten FQ names</em> checkbox is on, so the mentioned classes will remain the same no matter where you choose to insert it.</p>
<p><img class="alignnone size-full wp-image-2305" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/screen-shot-2009-11-08-at-72711-pm.png" alt="" width="500" height="462" /></p>
<p>What we want to keep is the external syntax: the method call and the runnable. So remove everything inside the <code>run()</code> method braces and replace it with a <em><strong>$SELECTION$</strong></em> on a single line. It means that you may select something and it&#8217;ll be wrapped in this particular construct.</p>
<p>Enter some abbreviation to easily invoke it each time, and some description (optional, but useful). Finally, the formatting looks not quite pretty, so turn on the <em>Reformat according to style</em> checkbox.</p>
<p><img class="alignnone size-full wp-image-2306" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/screen-shot-2009-11-08-at-72809-pm.png" alt="" width="500" height="460" /></p>
<p>That&#8217;s all! Click <strong>OK</strong> and start using it. Find a fragment you want to wrap into a read-action, select it and invoke <em>Surround With&#8230;</em> action (<strong>Ctrl+Alt+T</strong>). You&#8217;ll see the read action template in the list:</p>
<p><img class="alignnone size-full wp-image-2307" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/screen-shot-2009-11-08-at-73150-pm.png" alt="" width="487" height="393" /></p>
<p>Select it and the read action is in there:</p>
<p><img class="alignnone size-full wp-image-2308" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/screen-shot-2009-11-08-at-73437-pm.png" alt="" width="480" height="138" /><script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2009%2F12%2Fsave-as-live-template%2F';
  addthis_title  = 'Creating+live+templates+from%26%238230%3B+templates';
  addthis_pub    = 'jetbrains';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/9f1GSkKL4do" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2009/12/save-as-live-template/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2009/12/save-as-live-template/</feedburner:origLink></item>
		<item>
		<title>ActionScript/Flex UML Class Diagrams in IntelliJ IDEA 9</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/x2_KPliGa3A/</link>
		<comments>http://blogs.jetbrains.com/idea/2009/12/actionscriptflex-uml-class-diagrams-in-intellij-idea-9/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 13:06:23 +0000</pubDate>
		<dc:creator>ksafonov</dc:creator>
		
		<category><![CDATA[FYI]]></category>

		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[UML]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2515</guid>
		<description><![CDATA[If you read our recent posts on ActionScript/Flex refactorings, you might have noticed that UML diagramming in freshly released IntelliJ IDEA 9 works not only for Java. That&#8217;s right, you can use it to analyze your ActionScript and Flex classes.

Diagram can be shown either in a popup (i.e. to for quick glance at classes and [...]]]></description>
			<content:encoded><![CDATA[<p>If you read our recent posts on <a href="http://blogs.jetbrains.com/idea/?s=actionscript+refactoring">ActionScript/Flex refactorings</a>, you might have noticed that UML diagramming in freshly released <a href="http://www.jetbrains.com/idea">IntelliJ IDEA</a> 9 works not only for Java. That&#8217;s right, you can use it to analyze your ActionScript and Flex classes.</p>
<p><img class="aligncenter size-full wp-image-2516" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/12/1.png" alt="" width="352" height="299" /><span id="more-2515"></span></p>
<p>Diagram can be shown either in a popup (i.e. to for quick glance at classes and their relationships), or  in an editor tab for a more detailed drill down. Availablility of <strong>Show UML popup </strong>and <strong>Show UML Diagram</strong> context menu actions depends on what node is selected in Project view or what element or reference is under caret in AS/MXML file editor.</p>
<p>You can open a UML diagram for a class or package. The former displays all superclasses of selected class, the latter — all classes and subpackages of selected package. This way you may choose whether to inspect classes hierarchy or package contents.</p>
<p>UML diagram shows classes, interfaces and packages as top-level nodes, and members inside parent node. Links denote inheritance relationships between classes or interfaces: implements or extends. With different types of layouts it&#8217;s very simple to get a structural overview of classes hierarchy and relationships.</p>
<p><img class="aligncenter size-full wp-image-2518" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/12/21.png" alt="" /></p>
<p>Using UML toolbar you can easily control which types of class members are visible: fields, constructors, methods and properties. Also, you can filter visible members by access type. Elements in namespaces are shown when <strong>protected &amp; internal</strong> or <strong>all</strong> visibility mode is selected.</p>
<p><img class="aligncenter size-full wp-image-2519" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/12/3.png" alt="" width="579" height="286" /></p>
<p>Many of the familiar refactorings are accessible right from UML diagram! You can rename classes or members, <a href="http://blogs.jetbrains.com/idea/2009/11/new-actionscriptflex-refactoring-move-static-members/">move static members</a>, <a href="http://blogs.jetbrains.com/idea/2009/11/new-actionscriptflex-refactoring-pull-members-up/">pull members up</a> or <a href="http://blogs.jetbrains.com/idea/2009/11/new-actionscriptflex-refactoring-push-members-down/">push them down</a>. To invoke operations on members, first double-click class node or select it and press Enter or F2. You may also quickly add class supers or inheritors with a context menu action:</p>
<p><img class="aligncenter size-full wp-image-2520" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/12/4.png" alt="" width="364" height="118" /></p>
<p><img class="aligncenter size-full wp-image-2521" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/12/5.png" alt="" width="383" height="82" /></p>
<p>To remove unneeded nodes from the diagram, select them and press Delete. To add classes/packages to the opened diagram, just drag the items from Project view.</p>
<p>UML with pleasure!<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2009%2F12%2Factionscriptflex-uml-class-diagrams-in-intellij-idea-9%2F';
  addthis_title  = 'ActionScript%2FFlex+UML+Class+Diagrams+in+IntelliJ+IDEA+9';
  addthis_pub    = 'jetbrains';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/x2_KPliGa3A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2009/12/actionscriptflex-uml-class-diagrams-in-intellij-idea-9/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2009/12/actionscriptflex-uml-class-diagrams-in-intellij-idea-9/</feedburner:origLink></item>
		<item>
		<title>IntelliJ IDEA 9 Released, Includes Free Edition</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/UAjwZJOd4Cw/</link>
		<comments>http://blogs.jetbrains.com/idea/2009/12/intellij-idea-9-finally-out-with-great-new-features-a-performance-boost/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 18:29:17 +0000</pubDate>
		<dc:creator>Ann Oreshnikova</dc:creator>
		
		<category><![CDATA[News &#038; Events]]></category>

		<category><![CDATA[IntelliJ IDEA]]></category>

		<category><![CDATA[Java EE 6]]></category>

		<category><![CDATA[Release]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2509</guid>
		<description><![CDATA[IntelliJ IDEA 9 is finally out, bringing you lots of goodies across the board!
If you haven&#8217;t followed the EAP (Early Access Program) or missed the Beta release, here is a quick summary of the key new features and improvements in this release:

Two editions: Community Edition, free and open-source, and Ultimate Edition, encompassing 100% of the [...]]]></description>
			<content:encoded><![CDATA[<p>IntelliJ IDEA 9 is finally out, bringing you lots of goodies across the board!</p>
<p>If you haven&#8217;t followed the EAP (Early Access Program) or missed the Beta release, here is a quick summary of the key new features and improvements in this release:</p>
<ul>
<li><strong>Two editions</strong>: Community Edition, free and open-source, and Ultimate Edition, encompassing 100% of the famous IntelliJ IDEA functionality</li>
<li><strong>Much faster environment</strong>, with background indexing on startup</li>
<li>Extensive <strong>Java EE 6 support</strong></li>
<li><strong>Many productivity features</strong> in core Java functionality</li>
<li><strong>Best-of-breed PHP support</strong>, with dedicated debugger, PHPUnit, etc.</li>
<li><strong>Visual editor</strong> for defining the structure of project deliverables (.war, .ear archives, etc.)</li>
<li>AIR support, ActionScript refactorings, and other Flex support improvements</li>
<li>And lots more!</li>
</ul>
<p>Read more about <a href="http://www.jetbrains.com/idea/whatsnew/index.html?I90bl">what&#8217;s new</a> and download a <a href="http://www.jetbrains.com/idea/download/?I90bl">free 30-day trial</a> today.</p>
<p><a href="http://www.jetbrains.com/idea/buy/index.html?I90bl">Buy or upgrade</a> to IntelliJ IDEA 9 right now.</p>
<p>Oh, and did you happen to buy your IntelliJ IDEA 8 license on or after October 1, 2009? If so, <a href="http://www.jetbrains.com/idea/download/?I90bl">download v9</a> and upgrade right now — for free!</p>
<p>Start enjoying this latest and greatest IntelliJ IDEA every day — like we do!</p>
<p>— IntelliJ IDEA Team<br />
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2009%2F12%2Fintellij-idea-9-finally-out-with-great-new-features-a-performance-boost%2F';
  addthis_title  = 'IntelliJ+IDEA+9+Released%2C+Includes+Free+Edition';
  addthis_pub    = 'jetbrains';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/UAjwZJOd4Cw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2009/12/intellij-idea-9-finally-out-with-great-new-features-a-performance-boost/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2009/12/intellij-idea-9-finally-out-with-great-new-features-a-performance-boost/</feedburner:origLink></item>
		<item>
		<title>Editing HTML Inside of JS Literals</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/_uYxXJZK9h4/</link>
		<comments>http://blogs.jetbrains.com/idea/2009/12/editing-html-inside-of-js-literals/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 12:47:22 +0000</pubDate>
		<dc:creator>nicity</dc:creator>
		
		<category><![CDATA[FYI]]></category>

		<category><![CDATA[In Development]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[html]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[maia]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2495</guid>
		<description><![CDATA[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 your service  
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2009%2F12%2Fediting-html-inside-of-js-literals%2F';
  addthis_title  = 'Editing+HTML+Inside+of+JS+Literals';
 [...]]]></description>
			<content:encoded><![CDATA[<p>It often happens that we need to edit HTML code inside JavaScript literals. With Maia this is at last possible, and even with pleasure!<br />
<a href="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/12/completioninhtmlinjectedtojsliteral.png"><br />
<img src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/12/completioninhtmlinjectedtojsliteral.png" alt="" title="completioninhtmlinjectedtojsliteral" /></a></p>
<p>Completion, quick documentation, and navigation for HTML, CSS and even JavaScript inside JavaScript literals is at your service <img src='http://blogs.jetbrains.com/idea/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2009%2F12%2Fediting-html-inside-of-js-literals%2F';
  addthis_title  = 'Editing+HTML+Inside+of+JS+Literals';
  addthis_pub    = 'jetbrains';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/_uYxXJZK9h4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2009/12/editing-html-inside-of-js-literals/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2009/12/editing-html-inside-of-js-literals/</feedburner:origLink></item>
		<item>
		<title>Flex CSS Support in Maia</title>
		<link>http://feedproxy.google.com/~r/jetbrains_intellijidea/~3/hI1Ifh5BoKQ/</link>
		<comments>http://blogs.jetbrains.com/idea/2009/12/flex-css-support-in-maia/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 15:13:33 +0000</pubDate>
		<dc:creator>Eugene Kudelevsky</dc:creator>
		
		<category><![CDATA[In Development]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[maia]]></category>

		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=2476</guid>
		<description><![CDATA[Editing CSS files in Flex applications becomes easier with the help of some new Maia features.
First, completion for CSS selectors, properties, and property values. For example, if you press Ctrl+Space in this context, you get all class names from
a default namespace http://www.adobe.com/2006/mxml + global selector:

If a CSS property has a color format, IntelliJ IDEA helps [...]]]></description>
			<content:encoded><![CDATA[<p>Editing CSS files in Flex applications becomes easier with the help of some new <a href="http://jetbrains.net/confluence/display/IDEADEV/Maia+EAP">Maia</a> features.</p>
<p>First, completion for CSS selectors, properties, and property values. For example, if you press <strong>Ctrl+Space</strong> in this context, you get all class names from<br />
a default namespace <em>http://www.adobe.com/2006/mxml</em> + <em>global</em> selector:</p>
<p><img class="alignnone size-full wp-image-2481" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/selector_completion.png" alt=""/></p>
<p>If a CSS property has a color format, IntelliJ IDEA helps you to select a color:</p>
<p><img class="alignnone size-full wp-image-2482" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/color.png" alt=""/></p>
<p>You can look up documentation for default Flex CSS selectors and properties. Just press <strong>Ctrl+Q</strong> in editor or completion pop-up window:</p>
<p><img class="alignnone size-full wp-image-2483" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/doc.png" alt=""  /></p>
<p>You may easily navigate from CSS properties and selectors to their declarations in ActionScript. All you need is to press <strong>Ctrl+B</strong>. Note that if there are several declarations to navigate, you will see a pop-up list.</p>
<p><img class="alignnone size-full wp-image-2484" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/navigation.png" alt="" /></p>
<p>Also, IntelliJ IDEA provides validation of CSS selectors and properties:</p>
<p><img class="alignnone size-full wp-image-2485" src="http://blogs.jetbrains.com/idea/wp-content/uploads/2009/11/validation.png" alt=""  /></p>
<p>Note that these features are available only in CSS and MXML files under a Flex module, or module with a Flex facet.<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fblogs.jetbrains.com%2Fidea%2F2009%2F12%2Fflex-css-support-in-maia%2F';
  addthis_title  = 'Flex+CSS+Support+in+Maia';
  addthis_pub    = 'jetbrains';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script></p>
<img src="http://feeds.feedburner.com/~r/jetbrains_intellijidea/~4/hI1Ifh5BoKQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.jetbrains.com/idea/2009/12/flex-css-support-in-maia/feed/</wfw:commentRss>
		<feedburner:origLink>http://blogs.jetbrains.com/idea/2009/12/flex-css-support-in-maia/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.252 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-01-28 13:41:18 -->
