ColdFusion 的 Lint

发布于 2024-07-23 06:26:40 字数 1539 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

最舍不得你 2024-07-30 06:26:40

我没有遇到过任何像 CF 那样特别 lint 的情况,但有各种语法检查器:

I've not encountered anything particularly lint-like for CF, but there are assorted syntax checkers:

装纯掩盖桑 2024-07-30 06:26:40

据我所知,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.

香草可樂 2024-07-30 06:26:40

虽然远远不能满足您的需求,但 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.

微凉徒眸意 2024-07-30 06:26:40

不完全是您正在寻找的内容,但 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.)

韬韬不绝 2024-07-30 06:26:40

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文