jkeresman01 commented on PR #8509:
URL: https://github.com/apache/netbeans/pull/8509#issuecomment-2892260060
Thanks!
I'll simplify the snippet to focus solely on the `try (...)` block and
remove the `catch` section.
I'll also update the commit author to include my full name as required.
Typing `tryr` and pressing `Tab` will now expand to:
```java
try (|) {
}
```
Regarding the use of `${cursor}` in templates:
it appears that only the **first occurrence** is respected — any additional
ones are ignored. So the second `${cursor}` in the earlier version was
unnecessary.
Let me know if any further changes are needed, or if this minimal `tryr`
version looks good as-is.
--
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