{"id":508,"date":"2013-07-08T19:39:49","date_gmt":"2013-07-08T17:39:49","guid":{"rendered":"http:\/\/blog.ansuz.nl\/?p=508"},"modified":"2013-07-08T19:39:49","modified_gmt":"2013-07-08T17:39:49","slug":"intellij-keyboard-shortcuts","status":"publish","type":"post","link":"http:\/\/blog.ansuz.nl\/index.php\/2013\/07\/08\/intellij-keyboard-shortcuts\/","title":{"rendered":"IntelliJ keyboard shortcuts"},"content":{"rendered":"<p>Recently I switched from Eclipe to IntelliJ and that meant getting to know IntelliJ&#8217;s keyboard shortcuts. Below is a list of the shortcuts I use most.<\/p>\n<p><strong>Generic<\/strong><br \/>\n<em>crtl + n<\/em> = Open resource.<br \/>\n<em>ctrl + f4<\/em> = Close window.<br \/>\n<em>alt + [left\/right arrow]<\/em> = Move to the window on the left\/right.<br \/>\n<em>ctrl + shift + f<\/em> = Find in path, i.e search in whole project.<\/p>\n<p><strong>Text operations<\/strong><br \/>\n<em>ctrl + d<\/em> = Duplicate line.<br \/>\n<em>ctrl + y<\/em> = Remove line.<br \/>\n<em>ctrl + shift + [up\/down arrow]<\/em> = Move line up \/ down.<br \/>\n<em>ctrl + g<\/em> = Navigate to line.<br \/>\n<em>ctrl + shift + u<\/em> = Toggle case.<\/p>\n<p><strong>Code<\/strong><br \/>\n<em>ctrl + q<\/em> = Quick docs (floating documentation window when having selected a class, method, member).<br \/>\n<em>ctrl + f12<\/em> = Show members.<br \/>\n<em>alt + f7<\/em> = Find usage.<br \/>\n<em>shift + f6<\/em> = Refactor &gt; rename.<br \/>\n<em>ctrl + alt + l<\/em> = Format.<br \/>\n<em>ctrl + alt + [left\/right arrow]<\/em> = Back \/ Forward.<br \/>\n<em>alt + insert<\/em> = Generate code, i.e. constructor, getters\/setters.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Recently I switched from Eclipe to IntelliJ and that meant getting to know IntelliJ&#8217;s keyboard shortcuts. Below is a list of the shortcuts I use most. Generic crtl + n = Open resource. ctrl + f4 = Close window. alt &hellip; <a href=\"http:\/\/blog.ansuz.nl\/index.php\/2013\/07\/08\/intellij-keyboard-shortcuts\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[120,121],"class_list":["post-508","post","type-post","status-publish","format-standard","hentry","category-random","tag-intellij","tag-schortcuts"],"_links":{"self":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/comments?post=508"}],"version-history":[{"count":3,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/508\/revisions"}],"predecessor-version":[{"id":511,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/508\/revisions\/511"}],"wp:attachment":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/media?parent=508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/categories?post=508"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/tags?post=508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}