sublimetext-cfml icon indicating copy to clipboard operation
sublimetext-cfml copied to clipboard

CFScript Completions for Custom Tags and Attributes

Open michaelalandawson opened this issue 4 years ago • 2 comments

ColdFusion 2018 (perhaps earlier, too) allows custom tags to be specified in cfscript blocks.

Tag-based example:

<cf_renderpage title="[title goes here]">lorem</cf_renderpage>

The above equates to the following cfscript examples:

cf_renderpage();

cf_renderpage(title="[title goes here]", content="[content goes here]");

cf_renderpage(title: "[title goes here]", content: "[content goes here]");

Can the CFML package be modified to generate completions for custom tags and attributes within cfscript blocks? The custom tags and attributes should already be indexed. The three characters, "cf_", could be used to trigger the completion list.

Thanks!

michaelalandawson avatar Oct 23 '20 04:10 michaelalandawson

Makes sense to me. When I have some time I will see what I can do.

jcberquist avatar Oct 23 '20 16:10 jcberquist

Thank you.

michaelalandawson avatar Oct 23 '20 17:10 michaelalandawson