John Berquist
John Berquist
You are right that there isn't a setting to control this. It is currently hardcoded here: [models/cftags/CFTagBody.cfc#L35](https://github.com/jcberquist/commandbox-cfformat/blob/master/models/cftags/CFTagBody.cfc#L35). I am not opposed to adding a setting for it, however.
I agree this is a problem, and is one of the reasons my focus with this library was on component files where `` tags are not likely to be found...
Hmm, I am not sure about this one. Right now in both of the following scenarios: ``` function foo(bar=true) {} foo(bar=true); ``` The spacing around the `=` should be determined...
This makes sense to me as a request, and should be doable, but it isn’t backward compatible as right now I believe the spacing around the `=` is governed by...
@xdecock Yeah, I knew when I created this command that code like that would be an issue for it. I have such structures in my own code as well. But...
The newline at the end of the file is a result of the way blocks and opening to closing tags (e.g. `` are formatted. I could update the formatter to...
That is odd, in my testing I can't reproduce this. I went and found the original file in the ColdBox repo and used the `.cfformat.json` file there and tried formatting...
@lmajano I think I finally might know what is going on here. I was just talking with @bdw429s about how cfformat handles UTF-8 files with a BOM, and I realized...
I have been thinking about this - some of this is probably doable. But I think aligning multiple variable declarations is probably not, given that the formatter doesn't rely on...
This sounds like a nice idea. I am currently concerned about performance. The way the globber lib currently works (I think) is that, if your glob includes `**` in it,...