3

My Netbeans IDE show me error when I'm using css variables. For example, this lines of code will return an error:

:root {
    --main-bg-color: #dad66f;
}

.title {
    color: var(--main-bg-color);
}

I found this solution online: https://bugzilla-attachments-262769.netbeans.org/bugzilla/attachment.cgi?id=160370 But I don't know how to install this patch. Anyone have idea how I can stop showing this code as an error?

Thanks :)

2
  • Unfortunately the fix you found has not yet been implemented since the status of that bug is still NEW (see netbeans.org/bugzilla/show_bug.cgi?id=262769), and in any case that proposed patch was not intended to be applied by users of NetBeans. Commented Mar 11, 2018 at 22:49
  • Is there any update after 14 months? Should I just move to the newer version of NetBeans? Commented Feb 1, 2020 at 15:08

1 Answer 1

1

I've just checked and in the current latest Netbeans IDE version(11.3) CSS variables are working fine.

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.