<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PHP Magazine &#187; Publications</title>
	<atom:link href="http://www.phpmag.ru/category/programming/php5/public/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpmag.ru</link>
	<description>Suum cuique</description>
	<lastBuildDate>Mon, 06 Sep 2010 21:04:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Extremely Usefull NetBeans Shortcuts</title>
		<link>http://www.phpmag.ru/2009/01/23/extremely-usefull-netbeans-shortcuts/</link>
		<comments>http://www.phpmag.ru/2009/01/23/extremely-usefull-netbeans-shortcuts/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 03:47:22 +0000</pubDate>
		<dc:creator>Victor Farazdagi</dc:creator>
				<category><![CDATA[PHP5]]></category>
		<category><![CDATA[Publications]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[NetBeans]]></category>

		<guid isPermaLink="false">http://www.phpmag.ru/?p=339</guid>
		<description><![CDATA[It&#8217;s been several days that I am relying solely on NetBeans for my PHP and Java coding. So far, it&#8217;s beyond my wildest expectations &#8211; I am totally satisfied with that great IDE. Today, I have searched for shortcut that would allow me to duplicate a given line, and (fortunately!) came by a great post [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been several days that I am relying solely on NetBeans for my PHP and Java coding. So far, it&#8217;s beyond my wildest expectations &#8211; I am totally satisfied with that great IDE. Today, I have searched for shortcut that would allow me to duplicate a given line, and (fortunately!) came by a great post &#8211; <a href="http://netbeanside61.blogspot.com/2008/04/top-10-netbeans-ide-keyboard-shortcuts.html">Top 10 NetBeans IDE Keyboard Shortcuts</a>. Not only I found the line-duplication thing, I discovered several other pearls which due to unavailability in my previous IDEs, I even didn&#8217;t consider to look for.</p>
<p>So, I decided to compile my own list of shortcuts that save me a lot of time during code-sessions.</p>
<p><strong><em>Shift + Esc</em> </strong>Toggle Work-space Maximize/Minimize<strong><br />
</strong></p>
<p>Like the original post author, I really like to have as much work-space available for code itself as possible. And when I occasionally need to see one of the supplementary panels (like Files, Project, Navigator etc), I rely mostly on short-cuts, w/o toggling back. So, if I need to view some docking panel I hit one of the following:</p>
<p><strong><em>Ctrl+1</em></strong> &#8211; Project Window<br />
<em><strong>Ctrl+2</strong></em> &#8211; Files Window<br />
<strong><em>Ctrl+3</em></strong> &#8211; Favorite Window<br />
<strong><em>Ctrl+4</em></strong> &#8211; Output Window<br />
<em><strong>Ctrl+5</strong></em> &#8211; Services window<br />
<strong><em>Ctrl+6</em></strong> &#8211; Tasks Window</p>
<p>and when I am done, <strong><em>Ctrl+0</em></strong> to get me back to editor. Try for yourself, I am pretty sure, you&#8217;d be amazed how much time this saves you, while making coding area less cluttered.</p>
<p><strong><em>Alt+Enter</em></strong> View fix suggestions</p>
<p>NetBeans makes your life a lot easier, its Java code analyzer does a really solid job. Most of errors are filtered even before compilation &#8211; should you see the light bulb on the left of your code, you can review fix suggestions by either clicking on it or (time-saver again!) by just hitting Alt+Enter. I personally enjoy this one, as I prefer to see why IDE is complaining w/o releasing my hands of the keyboard.</p>
<p><em><strong>Ctrl+F12</strong></em> Navigate to Member</p>
<p>If your class is too big, then Members View in Navigator (<em><strong>Ctrl+7</strong></em> remember?) might not be the best option. Just hit <em><strong>Ctrl+F12</strong></em> and you&#8217;d be able to navigate more easily, as it has filter that would eliminate non-matching members while you are typing.</p>
<p><strong><em>Alt+Insert</em></strong> Generate code</p>
<p>That&#8217;s one of my favorites &#8211; code generators for getters/setters/constructors are just too sexy to ignore. This shortcut makes them even more usefull.</p>
<p><strong><em>Ctrl+Shift+ArrowDown</em></strong> Duplicate Line</p>
<p>Duplicating lines never been easier <img src='http://www.phpmag.ru/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If you want a new duplicate to be inserted before the current line, use ArrowUp instead of ArrowDown.</p>
<p><em><strong>Ctrl+W</strong></em> Close Current Window</p>
<p>Firefox honors this short-cut, as well as Konqueror. So, I even configured my console to use this by default. In no time you&#8217;d be accustomed to hit this combination instead of <strong><em>Ctrl+F4</em></strong>.</p>
<p><strong><em>Ctrl+PgUp</em></strong> and <em><strong>Ctrl+PgDn</strong></em> Navigate through Windows (previous/next)</p>
<p>Again, got used to it from Firefox. Makes it a swift to loop through open documents.</p>
<p><em><strong>Ctrl+P</strong></em> Display method&#8217;s arguments</p>
<p>Within method&#8217;s braces hit this combination to see what parameters are there. Comes where handy when reviewing the code.</p>
<p><em><strong>Ctrl+;</strong></em> Add semicolon to the end of the line w/o leaving current cursor position</p>
<p>If you are working on some code line and NetBeans underlines it red (due to [yet] non-existent semicolon at the end of the line) hitting <em><strong>Ctrl + ;</strong></em> (Ctrl + semicolon) is enough to close the statement, while you are still positioned at the very same place on line. First saw this on <a href="http://netbeans.dzone.com/news/two-netbeans-keyboard-shortcut">dzone.com blog</a>, and really liked using it.</p>
<p><em><strong>Ctrl+K</strong></em> and <strong><em>Ctrl+L</em></strong> Auto complete with previous/next matched word</p>
<p>I use this combination even more often than <strong><em>Ctrl+Space</em></strong> to auto complete. Listing all items with <strong><em>Ctrl+Space</em></strong> might be slow, but hitting Ctrl+K is instant. More than often the variable name you are typing is already typed somewhere in the current file, thus matching it with Ctrl+K or Ctrl+L is probably most obvious thing to do.</p>
<p><em><strong>Ctrl+E</strong></em> Delete current line</p>
<p><strong><em>Ctrl+Del</em></strong> and <em><strong>Ctrl+BackSpace</strong></em> Delete next/previous word</p>
<p>I generally use <em><strong>Ctrl+BackSpace</strong></em>, but on some occasions <strong><em>Ctrl+Del</em></strong> also proved userful.</p>
<p>That&#8217;s more than enough to get you going. In some time, I plan to write more extensive list  of esoteric shortcuts you rarely use, because you rarely know about them.</p>
<p>And what shortcuts save <em>your</em> time?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpmag.ru/2009/01/23/extremely-usefull-netbeans-shortcuts/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Feed in English..</title>
		<link>http://www.phpmag.ru/2009/01/21/feed-in-english/</link>
		<comments>http://www.phpmag.ru/2009/01/21/feed-in-english/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 20:59:28 +0000</pubDate>
		<dc:creator>Victor Farazdagi</dc:creator>
				<category><![CDATA[Publications]]></category>
		<category><![CDATA[announce]]></category>

		<guid isPermaLink="false">http://www.phpmag.ru/?p=336</guid>
		<description><![CDATA[This category would contain English feed of phpmag.ru blog.]]></description>
			<content:encoded><![CDATA[<p>This category would contain English feed of phpmag.ru blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpmag.ru/2009/01/21/feed-in-english/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
