接受PyCharm中的非标准css属性?

时间:2012-09-09 17:03:45

标签: css pycharm

我有以下规则

    .selectable { /* double click -> select (not text-selection) */
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
    }

其中每个属性(cursor除外)在PyCharm编辑器中显示红色波浪线,并显示消息“Unknown CSS property -webkit-touch-callout ..”。

我理解user-select是非标准的,但有没有办法告诉PyCharm我已经理解了这个警告,请不要再唠叨我了?

1 个答案:

答案 0 :(得分:4)

您需要启用忽略特定于供应商的CSS属性选项:

Ignore vendor specific CSS properties