JaroslavTulach commented on a change in pull request #3876:
URL: https://github.com/apache/netbeans/pull/3876#discussion_r837016332
##########
File path:
java/java.hints/test/unit/src/org/netbeans/modules/java/hints/errors/CreateMethodTest.java
##########
@@ -223,7 +222,7 @@ public void test223011b() throws Exception {
" Field f = method(c1, c2);\n" +
" }\n" +
" private <T extends Number & CharSequence, E
extends Integer> Field method(Class<E> c1, Class<T> c2) {\n" +
- " throw new UnsupportedOperationException(\"Not
supported yet.\"); // Generated from
nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody\n" +
Review comment:
I have always known the template is in Tools -> Templates. But I never
bothered searching for it! Having the link/action/hint next to the generated
text block at the time the incorrect (as perceived by user) block is inserted
is essential for people to really invoke the customization.
--
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