<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Change ctrl shift / from html comment to cfml comment</title>
    <link>https://forums.adobe.com/community/edge_code_preview?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 29 Sep 2014 00:10:48 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-09-29T00:10:48Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Change ctrl shift / from html comment to cfml comment</title>
      <link>https://forums.adobe.com/message/6771850?tstart=0#6771850</link>
      <description>&lt;!-- [DocumentBodyStart:60f40713-0477-4956-87e8-645dbab35abc] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;You can &lt;a class="jive-link-external-small" href="https://github.com/adobe/brackets/wiki/How-to-write-extensions" rel="nofollow"&gt;write an extension&lt;/a&gt; that &lt;a class="jive-link-external-small" href="https://github.com/adobe/brackets/wiki/Language-Support#defining-a-new-language" rel="nofollow"&gt;defines a new language&lt;/a&gt;, maps the .cfml file extension to it, and defines "&amp;lt;!---" as the preferred block-comment style.&amp;nbsp; (The linked documentation refers to "Brackets," which is just the open-source flavor of Edge Code -- the instructions should work the same for both).&amp;nbsp; Because Brackets / Edge Code normally treats .cfml as plain HTML, you'll also have to write some code in your extension to remove .cfml from the list of HTML-language file extensions before you can add it to your new CFML language.&amp;nbsp; Overall, your extension would look something like this:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;code style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;define(function (require, exports, module) {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var LanguageManager = brackets.getModule("language/LanguageManager");&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LanguageManager.getLanguage("html").removeFileExtension("cfml");&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LanguageManager.defineLanguage("cfml", {&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "CFML",&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: ["htmlmixed", "text/x-brackets-html"],&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fileExtensions: ["cfml"],&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; blockComment: ["&amp;lt;!---", "--&amp;gt;"]&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br/&gt;});&lt;/code&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hope that helps!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;- Peter&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:60f40713-0477-4956-87e8-645dbab35abc] --&gt;&lt;img src='/beacon?t=1415952842305' /&gt;</description>
      <pubDate>Mon, 29 Sep 2014 00:10:48 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6771850?tstart=0#6771850</guid>
      <dc:date>2014-09-29T00:10:48Z</dc:date>
      <clearspace:dateToText>1 month 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Change ctrl shift / from html comment to cfml comment</title>
      <link>https://forums.adobe.com/message/6771287?tstart=0#6771287</link>
      <description>&lt;!-- [DocumentBodyStart:efd43f43-f261-4cdc-84c7-73793b021b29] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Is there a way to make a quick &amp;lt;!--- comment (cfml) rather than a &amp;lt;!-- comment (html) by using shortcuts like ctrl+shift+/&amp;nbsp;&amp;nbsp;&amp;nbsp; ?&lt;/p&gt;&lt;p&gt;I am used to adding comments around blocks and lines using keyboard shortcuts or clicking a button on dreamweaver.&amp;nbsp; Any way to manage these shortcuts?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:efd43f43-f261-4cdc-84c7-73793b021b29] --&gt;</description>
      <pubDate>Sun, 28 Sep 2014 17:48:34 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6771287?tstart=0#6771287</guid>
      <dc:date>2014-09-28T17:48:34Z</dc:date>
      <clearspace:dateToText>1 month 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

