Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Coldfusion function hints in .html page

Explorer ,
Sep 22, 2010 Sep 22, 2010

I'm building a coldfusion site that will be using .html as the file extension instead of .cfm. I can easily set the server to parse the page correctly, however I am having a problem getting the code hinting to work in Dreamweaver.

I did figure out how to set Dreamweaver for CFM tag completion in an HTML page and it works fine, for instance if I type:

<cfa

it will hint and complete <cfabort>

However, the problem I'm having is that I can't get the function hinting to work. Normally, if I edit a CFM page and press control-space I get a list of coldfusion functions, for instance if I hold control-space then type:

arr

I'll get a menu of options and can auto-complete as:

ArrayAppend()

This is very helpful but I can't get this type of function hinting to work when I'm editing a HTML page in dreamweaver. Currently it will only do the tag completion, but NOT the function completion.

Any help would be appreciated, thanks!!

TOPICS
Server side applications
521
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 23, 2010 Sep 23, 2010
LATEST

Jeremy,

I'm building a coldfusion site that will be using .html as the file extension instead of .cfm. I can easily set the server to parse the page correctly, however I am having a problem getting the code hinting to work in Dreamweaver.

You'll need to manually edit this file in your User (not Application) Configuration folder:

  Configuration/CodeHints/CodeHints.xml

Search all of the "doctypes" attributes. Wherever you see "ColdFusion", add "HTML". It's a comma-separated list, so this:

  doctypes="ColdFusion,CFC"

Should be changed to:

  doctypes="ColdFusion,CFC,HTML"

Note that you can do something similar in the CodeColoring folder to get syntax coloring to work.

Regards,

Randy

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines