{"id":41,"date":"2018-10-13T05:12:12","date_gmt":"2018-10-13T05:12:12","guid":{"rendered":"https:\/\/vernonkeenan.com\/?p=41"},"modified":"2021-05-30T14:47:45","modified_gmt":"2021-05-30T21:47:45","slug":"salesforce-apex-beautified","status":"publish","type":"post","link":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/","title":{"rendered":"Salesforce Apex Beautified in VS Code with Uncrustify"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Why Beautify?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As a Salesforce Apex coder I admit to being a little persnickety when it comes to my code. Who doesn&#8217;t want their code to look just the way you want it to? But, when working in teams personal coding habits can lead to conflict.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ceres-gw.tnxs.net\/wp-content\/uploads\/2018\/10\/giphy.gif\" alt=\"\" class=\"wp-image-43\" width=\"311\" height=\"173\"\/><figcaption>Don&#8217;t do this! Use a beautifier instead!<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">What to do? Your dev team can&#8217;t have internal battles over spaces or tabs!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fortunately, long before Silicon Valley parodied the anal-retentive nature of coders, a technical solution has been figured out. It&#8217;s called a code beautifier and it&#8217;s built right into today&#8217;s hottest IDE: <a href=\"https:\/\/code.visualstudio.com\/\">Microsoft VS Code<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The idea behind using a code beautifier and using a coding standard for your code appearance is to standardize your formatting for the benefit of your fellow coders. We all know how one gets used to how curly braces are used in as class or method definition. If your coding buddy doesn&#8217;t have the same philosophy, it creates angst and conflict when you have to re-wire your brain to read this mess!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">JavaScript and TypeScript coders have the benefit of <strong><em>prettier<\/em><\/strong>,&nbsp;a Microsoft-supplied VS Code extension that will auto-format your JavaScript code.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-large is-layout-flow wp-block-quote-is-layout-flow\"><p>To beautify Salesforce Apex in VS Code one needs to&nbsp;recite some magical incantations with a new extension called Uncrustify.<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">While no one has made an Apex-specific beautifier yet, we can use the VS Code extension <strong>uncrustify<\/strong>&nbsp;and it&#8217;s ability to format Java, a close cousin of Apex. The trick is to tell uncrustify to treat Apex files like Java.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps To Auto-Format Apex in VS Code with Uncrustify<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Visit and star the <a href=\"https:\/\/github.com\/LaurentTreguier\/vscode-uncrustify\">vscode-uncrustify Github<\/a> repository to show your appreciation!<\/li><li>Linux users download and install the repo. Mac users install with <code>brew install uncrustify<\/code> or see&nbsp;<a href=\"http:\/\/macappstore.org\/uncrustify\">http:\/\/macappstore.org\/uncrustify<\/a>. Windows users <a href=\"https:\/\/sourceforge.net\/projects\/uncrustify\/files\">download the binary from Sourceforge<\/a> and install it in your PATH.<\/li><li>Install the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=LaurentTreguier.uncrustify\">Uncrustify VS Code Extension<\/a>&nbsp;and reload.<\/li><li>Set up a default configuration file in your current workspace with<br><code>uncrustify.create<\/code>&nbsp;command.<\/li><li>Tell uncrustify to treat Apex like Java with this setting:<br><\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>{    \"uncrustify.langOverrides\": {\n        \"apex\": \"JAVA\"\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That is it! Now the VS Code <code>format<\/code>&nbsp;command should format your document. Select part of your file, right click and you&#8217;ll have a <br><code>Format Selection<\/code>&nbsp;command available. Be sure to check the read.me and learn about all options.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now your code will be beautiful and your team can resume their fight about your tech stack!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To beautify Salesforce Apex in VS Code one needs to recite some magical incantations with a new extension called Uncrustify.<\/p>\n","protected":false},"author":1,"featured_media":42,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[7],"tags":[64],"post_series":[],"class_list":["post-41","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-tips","entry","has-media"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.2 (Yoast SEO v22.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Salesforce Apex Beautified in VS Code with Uncrustify - SalesforceDevops.net<\/title>\n<meta name=\"description\" content=\"Spend less time formatting your code with this tutorial on beautifing Salesforce Apex in Microsoft Visual Code with the open-source utility uncrustify\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Salesforce Apex Beautified in VS Code with Uncrustify - SalesforceDevops.net\" \/>\n<meta property=\"og:description\" content=\"Spend less time formatting your code with this tutorial on beautifing Salesforce Apex in Microsoft Visual Code with the open-source utility uncrustify\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/\" \/>\n<meta property=\"og:site_name\" content=\"SalesforceDevops.net\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/salesforcedevopsnet\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-13T05:12:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-30T21:47:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png\" \/>\n\t<meta property=\"og:image:width\" content=\"717\" \/>\n\t<meta property=\"og:image:height\" content=\"325\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Vernon Keenan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@salesforcedevop\" \/>\n<meta name=\"twitter:site\" content=\"@salesforcedevop\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vernon Keenan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/\"},\"author\":{\"name\":\"Vernon Keenan\",\"@id\":\"https:\/\/cms.salesforcedevops.net\/#\/schema\/person\/ac094823465a60be4f47d7321ed7ce04\"},\"headline\":\"Salesforce Apex Beautified in VS Code with Uncrustify\",\"datePublished\":\"2018-10-13T05:12:12+00:00\",\"dateModified\":\"2021-05-30T21:47:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/\"},\"wordCount\":412,\"publisher\":{\"@id\":\"https:\/\/cms.salesforcedevops.net\/#organization\"},\"image\":{\"@id\":\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png\",\"keywords\":[\"Tips\"],\"articleSection\":[\"How To\"],\"inLanguage\":\"en-US\",\"copyrightYear\":\"2018\",\"copyrightHolder\":{\"@id\":\"https:\/\/cms.salesforcedevops.net\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/\",\"url\":\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/\",\"name\":\"Salesforce Apex Beautified in VS Code with Uncrustify - SalesforceDevops.net\",\"isPartOf\":{\"@id\":\"https:\/\/cms.salesforcedevops.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png\",\"datePublished\":\"2018-10-13T05:12:12+00:00\",\"dateModified\":\"2021-05-30T21:47:45+00:00\",\"description\":\"Spend less time formatting your code with this tutorial on beautifing Salesforce Apex in Microsoft Visual Code with the open-source utility uncrustify\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/#primaryimage\",\"url\":\"https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png\",\"contentUrl\":\"https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png\",\"width\":717,\"height\":325,\"caption\":\"cartoon\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cms.salesforcedevops.net\/#website\",\"url\":\"https:\/\/cms.salesforcedevops.net\/\",\"name\":\"SalesforceDevops.net\",\"description\":\"Elevating Salesforce Devops with Insights and Innovation\",\"publisher\":{\"@id\":\"https:\/\/cms.salesforcedevops.net\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cms.salesforcedevops.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cms.salesforcedevops.net\/#organization\",\"name\":\"SalesforceDevops.net\",\"url\":\"https:\/\/cms.salesforcedevops.net\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cms.salesforcedevops.net\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/origin.salesforcedevops.net\/wp-content\/uploads\/2021\/04\/logo-horiz-325.jpg\",\"contentUrl\":\"https:\/\/origin.salesforcedevops.net\/wp-content\/uploads\/2021\/04\/logo-horiz-325.jpg\",\"width\":325,\"height\":101,\"caption\":\"SalesforceDevops.net\"},\"image\":{\"@id\":\"https:\/\/cms.salesforcedevops.net\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/salesforcedevopsnet\",\"https:\/\/twitter.com\/salesforcedevop\",\"https:\/\/www.linkedin.com\/in\/vernonkeenan\",\"https:\/\/www.youtube.com\/channel\/UCOgOn9rD5gyXSOmV7-Q0n7g\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cms.salesforcedevops.net\/#\/schema\/person\/ac094823465a60be4f47d7321ed7ce04\",\"name\":\"Vernon Keenan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cms.salesforcedevops.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cms.salesforcedevops.net\/wp-content\/wphb-cache\/gravatar\/09b\/09bd30f3ca2e049fbd8b9313ef5a41aex96.jpg\",\"contentUrl\":\"https:\/\/cms.salesforcedevops.net\/wp-content\/wphb-cache\/gravatar\/09b\/09bd30f3ca2e049fbd8b9313ef5a41aex96.jpg\",\"caption\":\"Vernon Keenan\"},\"description\":\"Vernon Keenan (LinkedIn) works as a senior information technology industry consultant based in Oakland, California. He earned his B.Sc. in Biomedical Engineering at Northwestern University where he programmed a PDP-8 with punched paper tape. In his 34-year-long career he has been a teacher, SPSS programmer, database administrator, clinical researcher, technology journalist, product marketing manager, market researcher, management consultant, and industry analyst. Most recently he is a telecom operator, cloud architect, Go devops engineer and Salesforce Developer\/Architect. For inquiries about Salesforce strategy briefings or solution architect work please contact Vern directly at +1-510-679-1900 or vern@vernonkeenan.com.\",\"sameAs\":[\"https:\/\/ceres-gw.tnxs.net\",\"https:\/\/linkedin.com\/in\/vernonkeenan\",\"https:\/\/twitter.com\/salesforcedevop\"],\"url\":\"https:\/\/cms.salesforcedevops.net\/index.php\/author\/vern\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Salesforce Apex Beautified in VS Code with Uncrustify - SalesforceDevops.net","description":"Spend less time formatting your code with this tutorial on beautifing Salesforce Apex in Microsoft Visual Code with the open-source utility uncrustify","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/","og_locale":"en_US","og_type":"article","og_title":"Salesforce Apex Beautified in VS Code with Uncrustify - SalesforceDevops.net","og_description":"Spend less time formatting your code with this tutorial on beautifing Salesforce Apex in Microsoft Visual Code with the open-source utility uncrustify","og_url":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/","og_site_name":"SalesforceDevops.net","article_publisher":"https:\/\/www.facebook.com\/salesforcedevopsnet","article_published_time":"2018-10-13T05:12:12+00:00","article_modified_time":"2021-05-30T21:47:45+00:00","og_image":[{"width":717,"height":325,"url":"https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png","type":"image\/png"}],"author":"Vernon Keenan","twitter_card":"summary_large_image","twitter_creator":"@salesforcedevop","twitter_site":"@salesforcedevop","twitter_misc":{"Written by":"Vernon Keenan","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/#article","isPartOf":{"@id":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/"},"author":{"name":"Vernon Keenan","@id":"https:\/\/cms.salesforcedevops.net\/#\/schema\/person\/ac094823465a60be4f47d7321ed7ce04"},"headline":"Salesforce Apex Beautified in VS Code with Uncrustify","datePublished":"2018-10-13T05:12:12+00:00","dateModified":"2021-05-30T21:47:45+00:00","mainEntityOfPage":{"@id":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/"},"wordCount":412,"publisher":{"@id":"https:\/\/cms.salesforcedevops.net\/#organization"},"image":{"@id":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/#primaryimage"},"thumbnailUrl":"https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png","keywords":["Tips"],"articleSection":["How To"],"inLanguage":"en-US","copyrightYear":"2018","copyrightHolder":{"@id":"https:\/\/cms.salesforcedevops.net\/#organization"}},{"@type":"WebPage","@id":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/","url":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/","name":"Salesforce Apex Beautified in VS Code with Uncrustify - SalesforceDevops.net","isPartOf":{"@id":"https:\/\/cms.salesforcedevops.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/#primaryimage"},"image":{"@id":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/#primaryimage"},"thumbnailUrl":"https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png","datePublished":"2018-10-13T05:12:12+00:00","dateModified":"2021-05-30T21:47:45+00:00","description":"Spend less time formatting your code with this tutorial on beautifing Salesforce Apex in Microsoft Visual Code with the open-source utility uncrustify","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cms.salesforcedevops.net\/index.php\/2018\/10\/13\/salesforce-apex-beautified\/#primaryimage","url":"https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png","contentUrl":"https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png","width":717,"height":325,"caption":"cartoon"},{"@type":"WebSite","@id":"https:\/\/cms.salesforcedevops.net\/#website","url":"https:\/\/cms.salesforcedevops.net\/","name":"SalesforceDevops.net","description":"Elevating Salesforce Devops with Insights and Innovation","publisher":{"@id":"https:\/\/cms.salesforcedevops.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cms.salesforcedevops.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cms.salesforcedevops.net\/#organization","name":"SalesforceDevops.net","url":"https:\/\/cms.salesforcedevops.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cms.salesforcedevops.net\/#\/schema\/logo\/image\/","url":"https:\/\/origin.salesforcedevops.net\/wp-content\/uploads\/2021\/04\/logo-horiz-325.jpg","contentUrl":"https:\/\/origin.salesforcedevops.net\/wp-content\/uploads\/2021\/04\/logo-horiz-325.jpg","width":325,"height":101,"caption":"SalesforceDevops.net"},"image":{"@id":"https:\/\/cms.salesforcedevops.net\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/salesforcedevopsnet","https:\/\/twitter.com\/salesforcedevop","https:\/\/www.linkedin.com\/in\/vernonkeenan","https:\/\/www.youtube.com\/channel\/UCOgOn9rD5gyXSOmV7-Q0n7g"]},{"@type":"Person","@id":"https:\/\/cms.salesforcedevops.net\/#\/schema\/person\/ac094823465a60be4f47d7321ed7ce04","name":"Vernon Keenan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cms.salesforcedevops.net\/#\/schema\/person\/image\/","url":"https:\/\/cms.salesforcedevops.net\/wp-content\/wphb-cache\/gravatar\/09b\/09bd30f3ca2e049fbd8b9313ef5a41aex96.jpg","contentUrl":"https:\/\/cms.salesforcedevops.net\/wp-content\/wphb-cache\/gravatar\/09b\/09bd30f3ca2e049fbd8b9313ef5a41aex96.jpg","caption":"Vernon Keenan"},"description":"Vernon Keenan (LinkedIn) works as a senior information technology industry consultant based in Oakland, California. He earned his B.Sc. in Biomedical Engineering at Northwestern University where he programmed a PDP-8 with punched paper tape. In his 34-year-long career he has been a teacher, SPSS programmer, database administrator, clinical researcher, technology journalist, product marketing manager, market researcher, management consultant, and industry analyst. Most recently he is a telecom operator, cloud architect, Go devops engineer and Salesforce Developer\/Architect. For inquiries about Salesforce strategy briefings or solution architect work please contact Vern directly at +1-510-679-1900 or vern@vernonkeenan.com.","sameAs":["https:\/\/ceres-gw.tnxs.net","https:\/\/linkedin.com\/in\/vernonkeenan","https:\/\/twitter.com\/salesforcedevop"],"url":"https:\/\/cms.salesforcedevops.net\/index.php\/author\/vern\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false],"thumbnail":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK-150x150.png",150,150,true],"medium":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK-300x136.png",300,136,true],"medium_large":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false],"large":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false],"1536x1536":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false],"2048x2048":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false],"lightbox":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false],"search_results":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK-125x125.png",125,125,true],"blog_entry":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false],"blog_post":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false],"blog_post_full":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false],"blog_related":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false],"gallery":["https:\/\/cms.salesforcedevops.net\/wp-content\/uploads\/2018\/10\/vOWAAUK.png",717,325,false]},"uagb_author_info":{"display_name":"Vernon Keenan","author_link":"https:\/\/cms.salesforcedevops.net\/index.php\/author\/vern\/"},"uagb_comment_info":0,"uagb_excerpt":"To beautify Salesforce Apex in VS Code one needs to recite some magical incantations with a new extension called Uncrustify.","_links":{"self":[{"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":1,"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":2758,"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/posts\/41\/revisions\/2758"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/media\/42"}],"wp:attachment":[{"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/tags?post=41"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/cms.salesforcedevops.net\/index.php\/wp-json\/wp\/v2\/post_series?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}