找到你要的答案

Q:Eclipse CSS AutoComplete/Content Assist not working

Q:Eclipse的CSS自动完成/内容辅助工作

Hi I am running Eclipse 4.3.2 Kepler. My CSS content assist is not working at all. I press ctrl+space to no avail.

I looked at my content assist settings and it is checked as well as having both CSS Proposals and CSS Template proposal checked.

What is going on?

嗨,我是运行Eclipse 4.3.2开普勒。我的CSS内容帮助是根本不工作。我按下Ctrl +空格无济于事。

我看着我的内容辅助设置和检查以及CSS的建议和CSS模板方案检查。

发生什么事了?

answer1: 回答1:

This could also be due to the css file location. If you are using maven and have the css in location like \src\main\resources\css\bootstrap.css, it does not work.

Instead if the css file is placed directly under webapp it works.

这也可能是由于CSS文件的位置。如果你使用Maven和位置一样src \主\资源\ \ bootstrap.css CSS的CSS,它不工作。

相反,如果CSS文件直接放在Web应用程序工作。

css  eclipse  autocomplete  ide  content-assist