有一个用于 LESS 插件rel="nofollow">PhpStorm
*.less
文件确实可以被识别,因为 *.less
文件旁边会出现一个小“LESS”图标,但“支持”似乎到此为止。 代码完成对我来说不像对*.css
文件那样有效。我想应该是对的吧?这个问题的可能根源是什么?
我在 Windows 7 上使用 PhpStorm。
编辑:在这个问题上花费了大量时间后,我没有找到解决方案,并将其发布为 YouTrack 上的“错误”。如果您找不到答案并希望实施修复,也请在那里投票。
There is a LESS plug-in for PhpStorm
*.less
files are indeed recognized, in that a little "LESS" icon appears next to the *.less
files, but it appears that the "support" ends there. Code completion does not work for me as it does for *.css
files. I assume it's supposed to right? What could be the possible source of this problem?
I'm using PhpStorm on Windows 7.
Edit: After spending a good amount of time on this question, I've found no solution, and posted it as a "bug" on YouTrack. Please also vote it up there, if you can't find an answer, and would like a fix to be implemented.
发布评论
评论(1)
事实上,这是由于对 CSS 代码的支持发生变化而产生的合法错误,如 此论坛帖子。
正如一位开发人员所解释的那样,LESS CSS 代码的自动完成功能应该会在不久的将来得到修复。
This is, in fact, a legitimate bug created due to a change in support for CSS code as explained in this forum post.
As one of the developers explains, autocompletion for LESS CSS code should be fixed in the near future.