BUG: IntelliJ does not support Closures in ColdFusion

Answered

Closures have been supported in Coldfusion since CF 10; however, IntelliJ IDE (2016.2.2) highlights them as syntax errors. The following is an example of code that is valid:

// get parent section detail
var parentSectionIndex = ArrayFind(sectionInfo, function(struct){
return struct.parentSectionName == "#parentSectionName#";
});



1 comment
Comment actions Permalink

Closures are supported according to https://youtrack.jetbrains.com/issue/IDEA-140660.

Please submit a new bug at https://youtrack.jetbrains.com/issues/IDEA and attach a sample file to reproduce.

0

Please sign in to leave a comment.