matthiasblaesing commented on issue #6509: URL: https://github.com/apache/netbeans/issues/6509#issuecomment-1753475566
I claim, that you are not running NB19. Both points are fixed: - css position sticky: https://github.com/apache/netbeans/pull/4480 (part of NB16) - private class members: https://github.com/apache/netbeans/pull/5677 (part of NB18) This was manually verified on NB19 with a clean user dir. 1. Create a "HTML5/JS Application" 2. Create `test.js` with: ```javascript // Direct copy from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields class ClassWithPrivate { #privateField; #privateFieldWithInitializer = 42; #privateMethod() { // … } static #privateStaticField; static #privateStaticFieldWithInitializer = 42; static #privateStaticMethod() { // … } } ``` 3. Create `test.css` with ```css .demo { position: sticky; } ``` Results:   -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
