在phpstorm中配置css自动完成 [英] configure css auto completion in phpstorm

查看:1215
本文介绍了在phpstorm中配置css自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用PHPStorm 3.0:

Using PHPStorm 3.0:

有没有办法驯服css文件中的自动完成?
我已经在首选项>编辑器>代码完成中禁用了一切,但我仍然观察到以下行为:

Is there a way to tame auto-completion in css files? I've disabled everything in "Preferences > Editor > Code Completion", yet I still observe the following behavior:

说我试着输入

.list {

}

键入.list并按空格键添加{括号时,PHPStorm会自动将.list扩展为

When typeing ".list" and pressing the space key to add a { bracket, PHPStorm automatically expands .list to

.list-style-type:

; 

这几乎发生在所有其他单词,也作为css属性出现,即使在注释
任何想法如何停止这个而不改变PHP / JS自动完成行为?

This happens with almost every other word that also occurs as a css property even in comments Any ideas on how to stop this without altering PHP/JS auto complete behavior?

推荐答案

您似乎为活动模板展开设置了Space快捷方式如果是这样,这种行为是设计的。

It seems you set Space shortcut for live template expanding (Settings | Live templates). If so, this behaviour is by design.

这篇关于在phpstorm中配置css自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆