NetBeans中Java中用户定义的类的IntelliSense

发布于 2025-02-11 09:51:30 字数 110 浏览 0 评论 0原文

我感到困惑,如何使Java中用户定义的类的智能意义。当我们将一个类的对象分为另一个类时,它为我提供了第一类的所有方法和属性,以及其他一些方法,例如对象类的ToString()。那么如何使第一堂课的智能意义?

I am confused that how to make intellisense of userdefined classes in java. When we make the object of one class into another, it gives me all the methods and attributes of the first class alongwith some other methods like toString() of object class. So how to make intellisense of the first class?

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

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

发布评论

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

评论(1

枯叶蝶 2025-02-18 09:51:30

我尝试了许多项目的NetBeans,并且对于用户定义的类和方法,它具有相当不错的代码完成和Intellisense。
请关注 this 线程以启用Java。

如果问题仍然存在,那么您应该尝试删除NetBeans缓存,该缓存应位于 -

$ home/.netbeans/$ version/var/var/cache/

但首先创建备份。

之后,您可以尝试创建一个新项目来启动NB CACHE。

还有一个类似的 thread 但是语言是PHP,请尝试这些解决方案也是如此。

I have tried netbeans for many of my projects and it have quite good code completion and intellisense for user defined classes and methods also .
Follow this thread to enable it for java.

If the problem still persists then may be you should try to delete your NetBeans cache, which should be located in -

$HOME/.netbeans/$VERSION/var/cache/

But create a backup first .

After this , you can try creating a new project to kickstart NB cache .

Also there is a similar thread but the language is php , try those solutions also.

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