How to show access modifiers for classes in IntelliJ IDEA?

Intellij IdeaAccess Modifiers

Intellij Idea Problem Overview


I've recently upgraded to Intellij IDEA 2017.2 and access modifier icons disappeared from my file tree... How to get them back?

Intellij Idea Solutions


Solution 1 - Intellij Idea

UPDATE

Since 2019.2 version you can enable it in the Project view options, toggle the Show Visibility Icons:

Show Visibility Icons


For older versions:

This option was disabled intentionally, see this comment for the explanation:

> This information was intentionally removed, as we believe that it > brings more clutter than actual value.

To enable it back add -Dide.projectView.show.visibility=true in Help | Edit Custom VM Options.

Solution 2 - Intellij Idea

Since 2019.2 there is actually an easy to use option as described in comment:

> you can find this setting in options menu of Project Tool Window. It's called "Show Visibility Icons"

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionmdziobView Question on Stackoverflow
Solution 1 - Intellij IdeaCrazyCoderView Answer on Stackoverflow
Solution 2 - Intellij IdeaChris SuszyńskiView Answer on Stackoverflow