Project structure similar to Eclipse


Hi, How  can I setup IntelliJ to have a folder structure similar to this:

If you see, the src/main/java is compressed in a single line, on IntelliJ it shows like this (red circle on the left):


I also have another question, how can I remove the identation guideline on the right of the code? (see red circle on the right)

Thank you