jkeresman01 opened a new pull request, #8509: URL: https://github.com/apache/netbeans/pull/8509
### Add try-with-resources abbreviation `tryr` to Java code templates ### This pull request introduces a new code template abbreviation `tryr` for Java source files in NetBeans. It expands to a try-with-resources block with the cursor positioned directly in the resource declaration. ### Usage Typing `tryr` and pressing `Tab` expands to: ```java try (|) { } catch (Exception e) { e.printStackTrace(); } -- 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-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists