为什么要在Clojure代码中标识Java方法?

发布于 2025-02-07 18:27:57 字数 633 浏览 1 评论 0原文

此代码工作正常。

  (.. svc (projects) (search) (setQuery filter) (setPageToken tok) execute)

(另请参见屏幕截图。)

似乎IDE具有所需的所有类型INFO,因为svc被键入为 cloudresourcemanager

那么,为什么语法突出显示标识项目和其他方法,为什么检查说“ ...无法解决”呢?

This code works just fine.

  (.. svc (projects) (search) (setQuery filter) (setPageToken tok) execute)

(See also screenshot.)

It seems that the IDE has all the type-info it needs since svc is type-hinted as CloudResourceManager.

So why can't the syntax highlighting identify projects and other methods, and why does the inspection say "...cannot be resolved"?

enter image description here

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

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

发布评论

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

评论(1

谈下烟灰 2025-02-14 18:27:57

这是一个问题已经存在了很长时间了: https://github.com/草书id/草书/问题/321

It's an issue that's been there for quite some time now: https://github.com/cursive-ide/cursive/issues/321

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