{"id":552,"date":"2016-05-17T11:17:27","date_gmt":"2016-05-17T15:17:27","guid":{"rendered":"http:\/\/www.cfchimp.com\/wordpress\/?p=552"},"modified":"2024-12-05T20:12:10","modified_gmt":"2024-12-06T01:12:10","slug":"atom-support-for-emmet-in-coldfusion-cfm-and-cfc-files","status":"publish","type":"post","link":"https:\/\/csimmons.dev\/blog\/2016\/05\/atom-support-for-emmet-in-coldfusion-cfm-and-cfc-files\/","title":{"rendered":"Atom support for Emmet in ColdFusion .cfm and .cfc files"},"content":{"rendered":"<p>I&#8217;m late to the party, but I&#8217;m trying out a new editor: <a href=\"https:\/\/atom.io\/\">GitHub&#8217;s Atom<\/a>.  My mission when I try out a new editor is to see if I can get the following 3 items set up properly (because if I can&#8217;t the editor is unfortunately not going to work for me).<\/p>\n<ol>\n<li>Language Support for ColdFusion<\/li>\n<li>An <a href=\"http:\/\/emmet.io\/\">Emmet<\/a> package<\/li>\n<li>Support for Emmet functionality within a .cfm, .cfc file<\/li>\n<\/ol>\n<p>Setting up Language support for ColdFusion is easy. Simply install the <code>language-cfml<\/code> package. To install a package in Atom:<\/p>\n<ul>\n<li>From the Atom editor menu, navigate to <code>Atom -&gt; Preferences<\/code><\/li>\n<li>Click the <code>Install<\/code> button<\/li>\n<li>Type <code>language-cfml<\/code> in the <code>Search Packages<\/code> field and click the <code>Packages<\/code> button<\/li>\n<li>Click the <code>Install<\/code> button for the <code>language-cfml<\/code> package<\/li>\n<\/ul>\n<p>Setting up Emmet is easy. Simply install the <code>emmet<\/code> package (see package install instructions above).<\/p>\n<p>Setting up Emmet support for ColdFusion .cfm and .cfc files requires editing your Keymap.  This step was derived from the <a href=\"https:\/\/github.com\/emmetio\/emmet-atom#tab-key\">emmet-atom Tab key documentation<\/a><\/p>\n<ul>\n<li>Open the Keymap file (keymap.cson): <code>Atom &gt; Keymap...<\/code><\/li>\n<li>Add the following to the keymap.cson file (proper indention counts):<\/li>\n<\/ul>\n<pre class=\"prettyprint\">\n'atom-text-editor[data-grammar=\"text html cfml\"]:not([mini])':\n    'tab': 'emmet:expand-abbreviation-with-tab'\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m late to the party, but I&#8217;m trying out a new editor: GitHub&#8217;s Atom. My mission when I try out a new editor is to see if I can get the following 3 items set up properly (because if I can&#8217;t the editor is unfortunately not going to work for me). Language Support for ColdFusion &#8230; <a title=\"Atom support for Emmet in ColdFusion .cfm and .cfc files\" class=\"read-more\" href=\"https:\/\/csimmons.dev\/blog\/2016\/05\/atom-support-for-emmet-in-coldfusion-cfm-and-cfc-files\/\" aria-label=\"Read more about Atom support for Emmet in ColdFusion .cfm and .cfc files\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_cloudinary_featured_overwrite":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[68],"tags":[49,48,12],"class_list":["post-552","post","type-post","status-publish","format-standard","hentry","category-developer","tag-atom","tag-coldfusion","tag-developer"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pbVg43-8U","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/comments?post=552"}],"version-history":[{"count":0,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/552\/revisions"}],"wp:attachment":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/media?parent=552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/categories?post=552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/tags?post=552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}