nmatt opened a new issue, #9272: URL: https://github.com/apache/netbeans/issues/9272
### Apache NetBeans version Apache NetBeans 29 ### What happened There doesn't seem to be a Java code template context for variable initializers (or I can't figure it out). ### Language / Project Type / NetBeans Component _No response_ ### How to reproduce In a suitable Java code context, start declaring a variable with initializer like this: ```java String s = ``` Try to invoke the code template "sw" (imagine the template is changed to a switch expression, so it makes sense in that context). => It is not offered. Try to find an assignable context under Options > Editor > Code Templates > Java that would make the code template appear. => I couldn't find any. ### Did this work correctly in an earlier version? No / Don't know ### Operating System Windows ### JDK 21 ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else _No response_ ### Are you willing to submit a pull request? No -- 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
