Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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>
share|improve this question

1 Answer 1

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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