mbien opened a new pull request, #8793:
URL: https://github.com/apache/netbeans/pull/8793

   Both `psvm` and `main` abbreviations generated the classic main method.
   
   This adds `vm` and changes `main` to generate the compact variant (`void 
main() {}`). This way both variants (most verbose and shortest) are covered by 
templates.
   
   Feedback appreciated. I changed the `main` template too mostly from the 
onboarding/new-to-java perspective, since it is the abbreviation with the 
highest probability to be discovered just by typing something and hitting auto 
completion.
   
   <img width="383" height="292" alt="image" 
src="https://github.com/user-attachments/assets/125caf5a-f0d7-4c7e-9b7f-664357ee7dff";
 />
   


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