Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
我没有遇到过任何像 CF 那样特别 lint 的情况,但有各种语法检查器:
I've not encountered anything particularly lint-like for CF, but there are assorted syntax checkers:
据我所知,ColdFusion 没有在线验证器。 您可以下载免费的开源 Eclipse (1.4) 并安装免费的 ColdFusion CFEclipse 插件,其中包括 ColdFusion 的字典参考以及语法错误检查器。 在编写 CFML 时检查错误非常方便。
您可以从 www.eclipse.org 下载 Eclipse,并从 cfeclipse.org 下载 CFEclipse 插件。
There are no online validators that I am aware of for ColdFusion. You can download the free open source Eclipse (1.4) and install the free CFEclipse Plug-In for ColdFusion which includes a dictionary reference for ColdFusion as well as a syntax error checker. Very handy for checking for errors as you write your CFML.
You can download Eclipse at www.eclipse.org and the CFEclipse plug-in at cfeclipse.org.
虽然远远不能满足您的需求,但 Coldfusion 附带的代码兼容性分析器可以执行一些基本检查。
它主要专注于从早期版本进行升级,因此您不会从中获得很多好处。
它不会执行任何范围检查,我相信 Coldfusion 确实需要这样做。
Although woefully inadequate for what you want, the Code Compatibility Analyzer that comes with Coldfusion can do some basic checking.
It is primailary focused on upgrading from earlier versions so you won't get a lot of a WHOLE lot out of it.
It will not perform any scoping checks, which I believe Coldfusion Really needs.
不完全是您正在寻找的内容,但 IntelliJ IDEA 有一个 CFML 插件,它突出显示了各种(它认为是)错误。 根据我的经验,它显示了一些误报,主要是它无法解决的引用,但它也确实标记了许多真正的错误; 通常可以节省一些测试-失败-修复周期。 (在我看来,它也是一个很棒的 IDE。)
Not exactly what you're looking for, but IntelliJ IDEA has a CFML plugin, and it highlights various kinds of (things it thinks are) errors. In my experience, it shows some false positives, mostly references it can't resolve, but it also does flag many real errors; often saves some test-fail-fix cycles. (It's also an awesome IDE in general IMO.)
Adobe推出的ColdFusion构建器产品具有很好的错误捕获功能。 出现错误的行号上标有红色 x,并简要说明代码当前损坏的原因。
The ColdFusion builder product that Adobe put out has pretty good error trapping. Standard red x on the line number where you have an error with a brief description as to why your code is currently broken.