2012-09-09 33 views
1

我有以下規則在PyCharm中接受非標準的CSS屬性?

.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編輯器一個紅色的波浪線和消息「未知的CSS屬性-webkit-觸摸標註..」。

我知道user-select是非標準的,但是有沒有辦法告訴PyCharm我已經理解了這個警告,請停止嘮叨我?

回答

4

您需要啓用忽略供應商的特定CSS屬性選項:

Ignore vendor specific CSS properties

+0

謝謝,正是工作就像我想:-) – thebjorn

相關問題