You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/10/01 18:32:36 UTC

[GitHub] [netbeans] BrianHCombes opened a new issue, #4712: CSS class not found (editor warning) - but class rule is defined and present

BrianHCombes opened a new issue, #4712:
URL: https://github.com/apache/netbeans/issues/4712

   ### Apache NetBeans version
   
   Apache NetBeans 15
   
   ### What happened
   
   Get warnings about CSS "class not found" when building and editing HTML files. 
   
   This warning shows with both local rule definition in the header or imported from separate CSS style sheet file.
   
   Able to turn off in the HTML Language (Hints) settings but purpose of this feature is than defeated.
   
   Should not get warning except when CSS class is actually not there.
   
   ![Screenshot 2022-10-01 120720](https://user-images.githubusercontent.com/21314458/193422835-3b3060d9-0d7d-4bac-9b03-612225cdaa00.jpg)
   ![Screenshot 2022-10-01 121328](https://user-images.githubusercontent.com/21314458/193422837-38dfd90b-6249-40c1-a319-97e54b391c7b.jpg)
   ![Screenshot 2022-10-01 121658](https://user-images.githubusercontent.com/21314458/193422838-69952d7e-8c44-43ac-a2d9-1c5293b5d500.jpg)
   
   
   ### How to reproduce
   
   Write an HTML element with a CSS class reference, include the CSS rule in the style element of the header. Warning should go away but editor says it can't find said class.
   
   In this case, it says "Class dropdown not found"
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 11 Pro - Ver 21H2
   
   ### JDK
   
   jdk-18.0.1.1
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   Happens all the while, all the time.
   
   No time to do a pull request for this one but have another issue involving GIT for later.
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] jalberet commented on issue #4712: CSS class not found (editor warning) - but class rule is defined and present

Posted by GitBox <gi...@apache.org>.
jalberet commented on issue #4712:
URL: https://github.com/apache/netbeans/issues/4712#issuecomment-1284543394

   Thanks 😎


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Chris2011 commented on issue #4712: CSS class not found (editor warning) - but class rule is defined and present

Posted by GitBox <gi...@apache.org>.
Chris2011 commented on issue #4712:
URL: https://github.com/apache/netbeans/issues/4712#issuecomment-1265258186

   Unfortunately I can't reprduce with this piece of code:
   
   ```html
   <!DOCTYPE html>
   
   <html>
     <head>
       <title>TODO supply a title</title>
       <meta charset="UTF-8">
       <meta name="viewport" content="width=device-width, initial-scale=1.0">
       <style>
         .test {
             color: green;
         }
       </style>
     </head>
     <body>
       <div class="test">TODO write content</div>
     </body>
   </html>
   ```
   
   Is it possible that you can share your exact example please?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists