Is there a way to get Dreamweaver CS4 to use syntax highlighting when writing full script CFCs? If the document type is .cfc and they syntax is fullscript, there is no syntax highlighting; the code will be in black text...

For example, the following block of code will appear without syntax highlighting:

component extends="whatever" output="false" {
  public void foo() {
  }
}

While the tag equivalent would be highlighted normally:

<cfcomponent extends="whatever" output="false">
  <cffunction name="foo" returnType="void" access="public">
  </cffunction>
</cfcomponent>
link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

If you surround the code with <cfscript></cfscript> you'll get the highlights. I know it sucks but it is the only way for now. Wish Adobe would do something about it because I love Dreamweaver and I really dislike ColdFusion Builder.

link|improve this answer
to be honest I felt the same way in the beginning, but now I am loving ColdFusion builder for so many reasons, I doubt I will go back to Dreamweaver. I think the code highlighting was also the biggest deal breaker for me. – Mohamad Feb 3 '11 at 4:05
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.