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: [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

Reply via email to