{"id":204,"date":"2008-11-10T17:45:52","date_gmt":"2008-11-10T16:45:52","guid":{"rendered":"http:\/\/www.gamlor.info\/wordpress\/?p=204"},"modified":"2021-03-11T09:44:00","modified_gmt":"2021-03-11T08:44:00","slug":"more-intellij-idea-80","status":"publish","type":"post","link":"https:\/\/www.gamlor.info\/wordpress\/2008\/11\/more-intellij-idea-80\/","title":{"rendered":"More IntelliJ Idea 8.0"},"content":{"rendered":"<p>After the <a href=\"?p=181\">release<\/a> of version 8.0 I\u2019ve immediately started using it. Here a small list of little improvements, which may aren\u2019t that obvious:<\/p>\n<p><strong>Language-Injection<br \/>\n<\/strong>IntelliJ Idea supports a wide range of programming languages: Java, Groovy, JavaScript, SQL\u00a0 XML, HTML and more. Often a language is embedded within another language. For example SQL in Java-Code, or JavaScript in HTML. IDEA recognizes common usages of such language-in-language-patterns. Additionally you can specify your own language-injections. For example if an method-parameter takes HQL, you simply specify in the idea configuration:<\/p>\n<p>Configure:<br \/>\n<a href=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/languaginjection2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-205\" title=\"languaginjection2\" src=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/languaginjection2-300x183.jpg\" alt=\"\" width=\"300\" height=\"183\" srcset=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/languaginjection2-300x183.jpg 300w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/languaginjection2.jpg 1339w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>And in action. The yellow marked part is HQL and is properly recognized by Idea:<br \/>\n<a href=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/languaginjection-inaction.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-206\" title=\"languaginjection-inaction\" src=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/languaginjection-inaction-300x39.jpg\" alt=\"\" width=\"300\" height=\"39\" srcset=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/languaginjection-inaction-300x39.jpg 300w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/languaginjection-inaction.jpg 910w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>Quick-Lists<br \/>\n<\/strong>You can create your own Popup-Quick-List. First create a list of favorite commands and bind it then to a keyboard-combination. Done!<\/p>\n<p>Create the list:<br \/>\n<a href=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-207\" title=\"quicklist1\" src=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist1-300x199.jpg\" alt=\"\" width=\"300\" height=\"199\" srcset=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist1-300x199.jpg 300w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist1.jpg 1226w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Assign to a key-combination:<br \/>\n<a href=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist-key.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-208\" title=\"quicklist-key\" src=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist-key-300x192.jpg\" alt=\"\" width=\"300\" height=\"192\" srcset=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist-key-300x192.jpg 300w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist-key.jpg 1204w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>And the list in action:<br \/>\n<a href=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist-inaction.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-209\" title=\"quicklist-inaction\" src=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist-inaction-254x300.jpg\" alt=\"\" width=\"254\" height=\"300\" srcset=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist-inaction-254x300.jpg 254w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/quicklist-inaction.jpg 631w\" sizes=\"(max-width: 254px) 100vw, 254px\" \/><\/a><\/p>\n<p><strong>Improved introduce-field, -parameter, -variable support<br \/>\n<\/strong>All introduce-refactorings for\u00a0fields, parameters and variables brings up\u00a0a pop-up with a selection which part of the expression should be assigned to the field\/variable. Of course when an expression is already marked, it wont ask for it:<\/p>\n<p>In action:<\/p>\n<p><a href=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/introduce1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-210\" title=\"introduce1\" src=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/introduce1-300x62.jpg\" alt=\"\" width=\"300\" height=\"62\" srcset=\"https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/introduce1-300x62.jpg 300w, https:\/\/www.gamlor.info\/wordpress\/wp-content\/uploads\/introduce1.jpg 807w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After the release of version 8.0 I\u2019ve immediately started using it. Here a small list of little improvements, which may aren\u2019t that obvious: Language-Injection IntelliJ Idea supports a wide range&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[17],"tags":[46,45,20],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts\/204"}],"collection":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/comments?post=204"}],"version-history":[{"count":3,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts\/204\/revisions"}],"predecessor-version":[{"id":3783,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts\/204\/revisions\/3783"}],"wp:attachment":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/categories?post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/tags?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}