DEV Community

Discussion on: What are your "must have" custom snippets for your editor/IDE?

Collapse
 
cjbrooks12 profile image
Casey Brooks

I like using a line of dashes to separate logical chunks of code in my classes (related methods, public vs private methods, fields, constructors, etc.). I have //- expand on tab to a full line of dashes and place the cursor above it to quickly add a comment.

Here's the "Live Template" used in the IntelliJ products:

Comment Break Live Template