Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么当我尝试在我的 java 程序中键入 eclipse 方法时,每次我在对象之后添加一个点或只是扩展的平面方法(比如说 Activity)时都不会显示。
您必须按ctrl+space才能查看与特定对象关联的方法和/或变量。使用ctrl+space是激活代码完成的原因。有时 Java 会自动执行此操作,有时则不会。当它自己不这样做时,只需使用我在此处描述的方法即可。