DEV Community

Discussion on: How do I add padding lines in IntelliJ?

Collapse
 
baenencalin profile image
Calin Baenen

What I want by padding, is to adjust how far from the "ribbon" the text is.

Also, whenever I create a doc-comment, the start of the lines aren't aligned (i.e. it LOOKS like there's a space inserted, but not).
Is there any way to disable that?

Collapse
 
redcreator37 profile image
RedCreator37 • Edited

What I want by padding, is to adjust how far from the "ribbon" the text is.

If you mean indentation, you can set this in Preferences > Editor > Code Style > Java > Tabs and Indents.

identation settings

About the doc comments, the first / is indented the same as the continuing code. Try looking further in the Preferences > Editor > Code Style > Java section, it might be somewhere in there.

javadoc comment indentation

Edit: typo