eclipse xml文件中按alt+/没有提示信息
2013-12-30 09:46
246 查看
今天要写这篇博文是因为遇到这样的不是技术的问题,但找到问题根源再解决这个问题又花费很长时间的,在网上也没有找到对症的解决方案,所以必须的拿出来跟大家分享一下,以免浪费大家的宝贵时间。
问题:eclipse xml文件中按alt+/没有提示信息?
方案1:在xml文件上右击-->open with ,看一下xml文件的默认打开方式。我遇到的是在Layout下的xml文件里没有提示信息。查看了一下xml的默认打开方式不是Android Layout Editor,这时需要修改xml文件的默认打开方式:
设置默认打开方式为XML Editor。
菜单:Window -> Preferences -> General -> Editors -> File Associations
File types: *.xml
Associated editors:XML Editor*** -> Default
在Associated editors选择框里点击“XML Editor*** ”,点击“Default”按钮。
你将看到“XML Editor*** ”排在最上面,其变为“XML Editor(Default)*** ”。
方案2:
一般情况下alt+/有代码提示作用,还有代码提示的快捷代码也不是alt+/,因此要恢复代码提示用alt+/.需要做两件事.
在 Window - Preferences - General - Keys 内
1、把word completion的快捷键设置alt+C
2、把Content Assist的快捷键由ctrl+space改成alt+/
如果还是不提示,极有可能是提示功能被关了.
如下:
1、菜单window->Preferences->Java->Editor->Content Assist->Enable auto activation 选项要打上勾
2、window->Preferences->Java->Editor->Content Assist->Advanced 上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中把 Other Java Proposals 选项打上勾就可以了
问题:eclipse xml文件中按alt+/没有提示信息?
方案1:在xml文件上右击-->open with ,看一下xml文件的默认打开方式。我遇到的是在Layout下的xml文件里没有提示信息。查看了一下xml的默认打开方式不是Android Layout Editor,这时需要修改xml文件的默认打开方式:
设置默认打开方式为XML Editor。
菜单:Window -> Preferences -> General -> Editors -> File Associations
File types: *.xml
Associated editors:XML Editor*** -> Default
在Associated editors选择框里点击“XML Editor*** ”,点击“Default”按钮。
你将看到“XML Editor*** ”排在最上面,其变为“XML Editor(Default)*** ”。
方案2:
一般情况下alt+/有代码提示作用,还有代码提示的快捷代码也不是alt+/,因此要恢复代码提示用alt+/.需要做两件事.
在 Window - Preferences - General - Keys 内
1、把word completion的快捷键设置alt+C
2、把Content Assist的快捷键由ctrl+space改成alt+/
如果还是不提示,极有可能是提示功能被关了.
如下:
1、菜单window->Preferences->Java->Editor->Content Assist->Enable auto activation 选项要打上勾
2、window->Preferences->Java->Editor->Content Assist->Advanced 上面的选项卡Select the proposal kinds contained in the 'default' content assist list: 中把 Other Java Proposals 选项打上勾就可以了
相关文章推荐
- 问题:eclipse xml文件中按alt+/没有提示信息?
- eclipse xml文件中按alt+/没有提示信息
- eclipse xml文件中按alt+/没有提示信息
- eclipse xml文件中按alt+/没有提示信息
- eclipse xml文件中按alt+/ 没有提示信息
- eclipse .java文件中按alt+/没有提示信息
- eclipse解决xml配置文件没有提示
- eclipse xml文件中按没有提示
- eclipse按alt+/没有提示信息
- eclipse xml文件中按没有提示
- eclipse xml文件中按alt+/没有提示信息
- eclipse xml文件中按alt+/没有提示信息?
- eclipse 按alt+/没有提示信息
- eclipse xml文件中按alt+/没有提示信息
- Eclipse安装了SpringSource Tool Suite插件后,编辑SpringBoot项目的yml配置文件仍然没有提示信息的解决办法
- 关于eclipse中编辑struts.xml文件没有提示
- 关于eclipse的xml文件代码提示问题
- 用eclipse或者myeclipse按下alt+/没有提示的解决办法
- 为 eclipse 的 hibernate 配置文件(*.hbm.xml)加上自动提示功能
- Eclipse中 Alt+/ 不能出现提示信息