{"id":4107,"date":"2011-08-26T11:14:29","date_gmt":"2011-08-26T05:44:29","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=4107"},"modified":"2011-08-26T11:14:29","modified_gmt":"2011-08-26T05:44:29","slug":"zen-coding-in-intellij-idea","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/","title":{"rendered":"Zen Coding in IntelliJ IDEA"},"content":{"rendered":"<p>Recently i Found this cool thing(Zen Coding) which is also supported by IntelliJ IDEA.<\/p>\n<p>Long story short, Zen Coding is a shorthand notation for writing HTML\/CSS, Few Examples are as Follows:<\/p>\n<p><strong>Ex-1 Writing a nested Markup Quickly<\/strong><br \/>\nNow in IDEA lets open any gsp\/html page and write:<\/p>\n<p>[html]<br \/>\ndiv#mainDivId&gt;p+h1+p.classForP (After Writing this press TAB)<br \/>\n[\/html]<\/p>\n<p>AND You Will Get&#8230;&#8230;.<\/p>\n<p>[html]<br \/>\n&lt;div id=&quot;mainDivId&quot;&gt;<br \/>\n    &lt;p&gt;&lt;\/p&gt;<br \/>\n    &lt;h1&gt;&lt;\/h1&gt;<br \/>\n    &lt;p class=&quot;classForP&quot;&gt;&lt;\/p&gt;<br \/>\n&lt;\/div&gt;<br \/>\n[\/html]<\/p>\n<p>Magic&#8230;..<br \/>\nThe Zen Code string is self explanatory and also easy to desipher after looking at the output.. \ud83d\ude09<br \/>\n<br \/>\n<strong>Ex-2 Repeating Elements<\/strong><br \/>\nNow lets try this In gsp\/html page,<br \/>\n[html]<br \/>\nli*5 (Then press TAB as Before)<br \/>\n[\/html]<\/p>\n<p>And We Will Get&#8230;..<\/p>\n<p>[html]<br \/>\n&lt;li&gt;&lt;\/li&gt;&lt;li&gt;&lt;\/li&gt;&lt;li&gt;&lt;\/li&gt;&lt;li&gt;&lt;\/li&gt;&lt;li&gt;&lt;\/li&gt;<br \/>\n[\/html]<br \/>\ni.e: li is repeated 5 times, hence multiplying with a number &#8216;n&#8217; repeates it &#8216;n&#8217; number of times.<\/p>\n<p>\n<strong>EX-3 Assigning variable Id\/Classes\/anything<\/strong><br \/>\n<strong>Note:<\/strong>Item numbering with $ character: li.item$*3 will output &#8216;li&#8217; tag three times, replacing $ character with item number.<br \/>\n[html]<br \/>\nli.item$*3 (Press TAB as Always)<br \/>\n[\/html]<\/p>\n<p>And We Will Get&#8230;<br \/>\n[html]<br \/>\n&lt;li class=&quot;item1&quot;&gt;&lt;\/li&gt;&lt;li class=&quot;item2&quot;&gt;&lt;\/li&gt;&lt;li class=&quot;item3&quot;&gt;&lt;\/li&gt;<br \/>\n[\/html]<\/p>\n<p><strong>Note:<\/strong> Multiple &#8216;$&#8217; characters in a row are used as zero padding, i.e.: li.item$$$ \u2192 li.item001<br \/>\nLets try this:<br \/>\n[html]<br \/>\n li.item$$$*3 (Tab Again..)<br \/>\n[\/html]<\/p>\n<p>And We will Get&#8230;<br \/>\n[html]<br \/>\n&lt;li class=&quot;item001&quot;&gt;&lt;\/li&gt;&lt;li class=&quot;item002&quot;&gt;&lt;\/li&gt;&lt;li class=&quot;item003&quot;&gt;&lt;\/li&gt;<br \/>\n[\/html]<\/p>\n<p>and So on&#8230;&#8230; Lots of possibilities here.. \ud83d\ude09<\/p>\n<p>\n<strong>Ex-4 Assigning class and id both together<\/strong><br \/>\n[html]<br \/>\ndiv#page.section.main<br \/>\n[\/html]<\/p>\n<p>And we will get&#8230;<br \/>\n[html]<br \/>\n&lt;div id=&quot;page&quot; class=&quot;section main&quot;&gt;&lt;\/div&gt;<br \/>\n[\/html]<\/p>\n<p>\n<strong>Ex-5: Custom Attributes<\/strong><br \/>\nlets try this&#8230;<br \/>\n[html]<br \/>\ntd[colspan=2]<br \/>\n[\/html]<\/p>\n<p>And we will get&#8230;.<br \/>\n[html]<br \/>\n&lt;td colspan=&quot;2&quot;&gt;&lt;\/td&gt;<br \/>\n[\/html]<\/p>\n<p>\n<strong>Ex-6: Abbreviation groups with unlimited nesting<\/strong><br \/>\nLets try this&#8230;<br \/>\n[html]<br \/>\ndiv#page&gt;(div#header&gt;ul#nav&gt;li*4&gt;a)+(div#page&gt;(h1&gt;span)+p*2)+div#footer<br \/>\n[\/html]<\/p>\n<p>And we will get..<br \/>\n[html]<br \/>\n&lt;div id=&quot;page&quot;&gt;<br \/>\n         &lt;div id=&quot;header&quot;&gt;<br \/>\n             &lt;ul id=&quot;nav&quot;&gt;<br \/>\n                 &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;\/a&gt;&lt;\/li&gt;<br \/>\n                 &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;\/a&gt;&lt;\/li&gt;<br \/>\n                 &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;\/a&gt;&lt;\/li&gt;<br \/>\n                 &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;\/a&gt;&lt;\/li&gt;<br \/>\n             &lt;\/ul&gt;<br \/>\n         &lt;\/div&gt;<br \/>\n         &lt;div id=&quot;page&quot;&gt;<br \/>\n            &lt;h1&gt;&lt;span&gt;&lt;\/span&gt;&lt;\/h1&gt;<br \/>\n            &lt;p&gt;&lt;\/p&gt;<br \/>\n            &lt;p&gt;&lt;\/p&gt;<br \/>\n        &lt;\/div&gt;<br \/>\n    &lt;div id=&quot;footer&quot;&gt;&lt;\/div&gt;<br \/>\n&lt;\/div&gt;<br \/>\n[\/html]<\/p>\n<p>You can literally write a full document markup with just a single line. \ud83d\ude42 Awesome..<\/p>\n<p>\n<strong>Ex-7: Another Example Incorporating All we learnt \ud83d\ude42<\/strong><br \/>\nLets Try this&#8230;<br \/>\n[html]<br \/>\ndiv#page&gt;div.logo+ul#navigation&gt;li*5&gt;a<br \/>\n[\/html]<\/p>\n<p>And we will get&#8230;..<br \/>\n[html]<br \/>\n&lt;div id=&quot;page&quot;&gt;<br \/>\n    &lt;div class=&quot;logo&quot;&gt;&lt;\/div&gt;<br \/>\n    &lt;ul id=&quot;navigation&quot;&gt;<br \/>\n              &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;\/a&gt;&lt;\/li&gt;<br \/>\n              &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;\/a&gt;&lt;\/li&gt;<br \/>\n              &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;\/a&gt;&lt;\/li&gt;<br \/>\n              &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;\/a&gt;&lt;\/li&gt;<br \/>\n              &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;\/a&gt;&lt;\/li&gt;<br \/>\n    &lt;\/ul&gt;<br \/>\n&lt;\/div&gt;<br \/>\n[\/html]<\/p>\n<p>Regards<br \/>\nKushal Likhi<br \/>\nIntelligrape Softwares<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently i Found this cool thing(Zen Coding) which is also supported by IntelliJ IDEA. Long story short, Zen Coding is a shorthand notation for writing HTML\/CSS, Few Examples are as Follows: Ex-1 Writing a nested Markup Quickly Now in IDEA lets open any gsp\/html page and write: [html] div#mainDivId&gt;p+h1+p.classForP (After Writing this press TAB) [\/html] [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":3,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-4107","post","type-post","status-publish","format-standard","hentry","category-grails"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Recently i Found this cool thing(Zen Coding) which is also supported by IntelliJ IDEA. Long story short, Zen Coding is a shorthand notation for writing HTML\/CSS, Few Examples are as Follows: Ex-1 Writing a nested Markup Quickly Now in IDEA lets open any gsp\/html page and write: [html] div#mainDivId&gt;p+h1+p.classForP (After Writing this press TAB) [\/html]\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kushal Likhi\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Zen Coding in IntelliJ IDEA | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Recently i Found this cool thing(Zen Coding) which is also supported by IntelliJ IDEA. Long story short, Zen Coding is a shorthand notation for writing HTML\/CSS, Few Examples are as Follows: Ex-1 Writing a nested Markup Quickly Now in IDEA lets open any gsp\/html page and write: [html] div#mainDivId&gt;p+h1+p.classForP (After Writing this press TAB) [\/html]\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Zen Coding in IntelliJ IDEA | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Recently i Found this cool thing(Zen Coding) which is also supported by IntelliJ IDEA. Long story short, Zen Coding is a shorthand notation for writing HTML\/CSS, Few Examples are as Follows: Ex-1 Writing a nested Markup Quickly Now in IDEA lets open any gsp\/html page and write: [html] div#mainDivId&gt;p+h1+p.classForP (After Writing this press TAB) [\/html]\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/zen-coding-in-intellij-idea\\\/#article\",\"name\":\"Zen Coding in IntelliJ IDEA | TO THE NEW Blog\",\"headline\":\"Zen Coding in IntelliJ IDEA\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kushal\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2011-08-26T11:14:29+05:30\",\"dateModified\":\"2011-08-26T11:14:29+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/zen-coding-in-intellij-idea\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/zen-coding-in-intellij-idea\\\/#webpage\"},\"articleSection\":\"Grails\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/zen-coding-in-intellij-idea\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/zen-coding-in-intellij-idea\\\/#listItem\",\"name\":\"Zen Coding in IntelliJ IDEA\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/zen-coding-in-intellij-idea\\\/#listItem\",\"position\":3,\"name\":\"Zen Coding in IntelliJ IDEA\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kushal\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kushal\\\/\",\"name\":\"Kushal Likhi\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/zen-coding-in-intellij-idea\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9311812a092d64f47eb30d7ad28378cfae924a0cac140ffbb686fcd8a565a57e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kushal Likhi\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/zen-coding-in-intellij-idea\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/zen-coding-in-intellij-idea\\\/\",\"name\":\"Zen Coding in IntelliJ IDEA | TO THE NEW Blog\",\"description\":\"Recently i Found this cool thing(Zen Coding) which is also supported by IntelliJ IDEA. Long story short, Zen Coding is a shorthand notation for writing HTML\\\/CSS, Few Examples are as Follows: Ex-1 Writing a nested Markup Quickly Now in IDEA lets open any gsp\\\/html page and write: [html] div#mainDivId>p+h1+p.classForP (After Writing this press TAB) [\\\/html]\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/zen-coding-in-intellij-idea\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kushal\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/kushal\\\/#author\"},\"datePublished\":\"2011-08-26T11:14:29+05:30\",\"dateModified\":\"2011-08-26T11:14:29+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Zen Coding in IntelliJ IDEA | TO THE NEW Blog","description":"Recently i Found this cool thing(Zen Coding) which is also supported by IntelliJ IDEA. Long story short, Zen Coding is a shorthand notation for writing HTML\/CSS, Few Examples are as Follows: Ex-1 Writing a nested Markup Quickly Now in IDEA lets open any gsp\/html page and write: [html] div#mainDivId>p+h1+p.classForP (After Writing this press TAB) [\/html]","canonical_url":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/#article","name":"Zen Coding in IntelliJ IDEA | TO THE NEW Blog","headline":"Zen Coding in IntelliJ IDEA","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/kushal\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"datePublished":"2011-08-26T11:14:29+05:30","dateModified":"2011-08-26T11:14:29+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/#webpage"},"articleSection":"Grails"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/2thenew.online\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/#listItem","name":"Zen Coding in IntelliJ IDEA"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/#listItem","position":3,"name":"Zen Coding in IntelliJ IDEA","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/kushal\/#author","url":"https:\/\/2thenew.online\/blog\/author\/kushal\/","name":"Kushal Likhi","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/9311812a092d64f47eb30d7ad28378cfae924a0cac140ffbb686fcd8a565a57e?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kushal Likhi"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/#webpage","url":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/","name":"Zen Coding in IntelliJ IDEA | TO THE NEW Blog","description":"Recently i Found this cool thing(Zen Coding) which is also supported by IntelliJ IDEA. Long story short, Zen Coding is a shorthand notation for writing HTML\/CSS, Few Examples are as Follows: Ex-1 Writing a nested Markup Quickly Now in IDEA lets open any gsp\/html page and write: [html] div#mainDivId>p+h1+p.classForP (After Writing this press TAB) [\/html]","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/kushal\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/kushal\/#author"},"datePublished":"2011-08-26T11:14:29+05:30","dateModified":"2011-08-26T11:14:29+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Zen Coding in IntelliJ IDEA | TO THE NEW Blog","og:description":"Recently i Found this cool thing(Zen Coding) which is also supported by IntelliJ IDEA. Long story short, Zen Coding is a shorthand notation for writing HTML\/CSS, Few Examples are as Follows: Ex-1 Writing a nested Markup Quickly Now in IDEA lets open any gsp\/html page and write: [html] div#mainDivId&gt;p+h1+p.classForP (After Writing this press TAB) [\/html]","og:url":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Zen Coding in IntelliJ IDEA | TO THE NEW Blog","twitter:description":"Recently i Found this cool thing(Zen Coding) which is also supported by IntelliJ IDEA. Long story short, Zen Coding is a shorthand notation for writing HTML\/CSS, Few Examples are as Follows: Ex-1 Writing a nested Markup Quickly Now in IDEA lets open any gsp\/html page and write: [html] div#mainDivId&gt;p+h1+p.classForP (After Writing this press TAB) [\/html]","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"4107","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 23:43:59","updated":"2024-02-29 09:33:28","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tZen Coding in IntelliJ IDEA\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Grails","link":"https:\/\/2thenew.online\/blog\/category\/grails\/"},{"label":"Zen Coding in IntelliJ IDEA","link":"https:\/\/2thenew.online\/blog\/zen-coding-in-intellij-idea\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/4107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=4107"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/4107\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=4107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=4107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=4107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}