1

I have the following rule

    .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;
    }

where every property (except cursor) shows with a red squiggly line in the PyCharm editor and the message "Unknown CSS property -webkit-touch-callout..".

I understand that user-select is non-standard, but is there a way to tell PyCharm that I've understood the warning and please stop nagging me about it?

0

1 Answer 1

4

You need to enable Ignore vendor specific CSS properties option:

Ignore vendor specific CSS properties

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.