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

cfscript syntax coloring

New Here ,
Oct 27, 2015 Oct 27, 2015

Copy link to clipboard

Copied

I've been using CFEclipse for years, but want to give CFBuilder another shot. I can't get the coloring to do what it does in CFEclipse in cfscript. Basic tags like writeOutput and abort are simple black text in CFB3, while they are colored in CFEclipse. I've looked in the preferences under Coldfusion-Profiles-Editor-Syntax Coloring and cannot change anything that corresponds to the cfscript CF commands. Am I missing something, or is this unavailable in CFB3?

TOPICS
Builder

Views

543

Translate

Translate

Report

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
Community Expert ,
Oct 27, 2015 Oct 27, 2015

Copy link to clipboard

Copied

Are other tags and functions colored for you, and CFML uniquely compared to HTML? If not, it could be that your problem is that CFB is not recognizing your file completely as a CFM that should be handled differently. You may say, “well it’s a CFM file extension. What more should it need?”

But in fact some features in CFB only work if you open the file as part of a project, and that a “CF project”. Are you opening your file with the navigator on the left? And from within a CF project? That would be the first place to start.

Also, have you confirmed there are no available updates? There could be a hotfix that solved a problem related to this.

These are the first things I’d consider. Hope that’s helpful.

/charlie


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

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
New Here ,
Oct 27, 2015 Oct 27, 2015

Copy link to clipboard

Copied

Thanks Charlie,

I did a new install of CFB3 just a couple days ago, and created a new CFML project, and added a simple index.cfm page. I then added a cfscript tag and simply coded: writeOutput( "Hello World" ); in it.
The cfscript tag was colored, and the string was colored, as I opted for those in preferences, but that writeOutput was plain black.

I changed every option in the preferences to 'enabled' and nothing changed.

It's kind of a deal breaker to using CFB3, as I have really come to rely on the coloring.

Votes

Translate

Translate

Report

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
Community Expert ,
Oct 27, 2015 Oct 27, 2015

Copy link to clipboard

Copied

LATEST

I want to clarify first that I had not tested what you’re asking, so I’m not saying it should work. I’d expect it to, but this could be an unresolved bug.

Still, I would add that while you say you installed CFB3 recently, I suppose that means you presume it to come with the latest available updates already, right? In my experience, it does not. They don’t build a new installer every time they have an update. So again, check (using the help menu, and “check for updates”) to see if there are any available updates. Let us know if there are any, and if after updating it, you still don’t see it color coding as expected.

And if that’s so, you may want to file a bug report at bugbase.adobe.com (though I realize you’ll be tempted to just move off to another editor. Still, if someone doesn’t report the problem, it may not get fixed.)

/charlie


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

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
Resources
Documentation