简体   繁体   English

日食中的CSS类自动建议

[英]CSS class auto suggestion in eclipse

So far I have used netbeans, now I am planning to switch in eclipse , everything is fine but like in netbeans it doesn't provide me css class proposal. 到目前为止,我已经使用过netbeans,现在我打算切换到eclipse,一切都很好,但是就像在netbeans中一样,它不提供CSS类建议。 In netbeans if I use or write any css class , that class will be automatically appeared in css file as proposal even , in html/php file it shows class proposal from previously used class or class from framework like bootstrap , like the images below 在netbeans中,如果我使用或编写任何CSS类,则该类甚至会自动作为提案出现在CSS文件中,在html / php文件中,它会显示以前使用过的类的提案或来自bootstrap等框架的类,如下图所示

for css file 对于css文件

在此处输入图片说明

for php file 用于php文件 在此处输入图片说明

But if I work in eclipse no css class or id proposal are showing . 但是,如果我在Eclipse中工作,则不会显示任何CSS类或ID建议。 Like images below . 像下面的图片。

for php file in eclipse 在Eclipse中的PHP文件 在此处输入图片说明

for css file in eclipse 在Eclipse中的CSS文件 在此处输入图片说明 I am using eclipse mars and WTP WebResources plugin is installed 我正在使用Eclipse Mars和WTP WebResources插件已安装

Reinstall the Eclipse Web Toolkit Platform packages. 重新安装Eclipse Web Toolkit平台软件包。 You can do that either using the Eclipse Marketplace tool or Install New Software under the Help menu. 您可以使用Eclipse Marketplace工具或“帮助”菜单下的“安装新软件”来执行此操作。

WTP Tools in Eclipse marketplace Eclipse市场中的WTP工具

相当于WTP的Eclipse Marketplace

Or you can install the Genuitec Webclipse packages which provides a more robust web development environment for front end developers. 或者,您可以安装Genuitec Webclipse软件包,该软件包为前端开发人员提供了更强大的Web开发环境。

https://www.genuitec.com/products/webclipse/ https://www.genuitec.com/products/webclipse/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM