在 Android Studio 中使用 ctrl+space 不显示在 xml 布局中的建议
问题描述:
我在使用 android studio 时遇到了问题,即在布局 .xml 文件中按 ctrl+space 时看不到建议.编辑器始终显示无建议".提前致谢.
I am facing problem with android studio that suggestions are not visible on pressing ctrl+space inside layout .xml files. Editor always display "No Suggestions". Thanks in advance.
答
我已经通过 File -> Invalidate Cache/Restart Android studio 修复它.
I have fixed it by File -> Invalidate Cache/Restart Android studio.