Common
| Icon | Description |
|---|---|
![]() | Class |
| Abstract Java class |
| Annotation |
| Enumeration |
| Exception |
| Final Java class |
| Interface |
| Java class that contains declaration of the main() method. |
| Test case |
| Java class located out of the source root. Refer to the section Configuring Content Roots for details. |
| Java class excluded from compilation. |
| Python script |
| Method |
| Field |
![]() | Rails controller |
| Module |
| Alias of a method |
| Global variable |
| Instance variable |
| Class variable |
| Constant |
| Hash key |
| Variable |
| Property |
| Parameter |
| Element |
![]() | Directory |
| Package | |
![]() | Source root |
![]() | Test root |
![]() | Excluded root |
| Visibility modifiers | |
![]() | private |
![]() | protected |
![]() | package protected |
![]() | public |
Data sources
| Icon | Description |
|---|---|
| DB data source |
|
Database connection for a DB data source (appears right underneath the corresponding data source node as soon as the connection is established).
IntelliJ IDEA establishes a database connection automatically first time it needs to execute a query,
and closes it automatically upon the session end. If necessary, a connection can be terminated manually,
using the context menu command |
|
| DDL data source |
| Schema |
| Table |
| Column |
![]() | A NOT NULL column |
| Column with a primary key |
| Column with a foreign key |
| Column with an index |
| Primary key |
| Foreign key |
| Index |
![]() | View |
![]() | Stored procedure or function |














