Skip to content

File Header Settings

Customize the header displayed at the top of every open editor

The File Header displays a configurable header at the top of every open editor, complementing the Project Banner feature.

Similar to the Project Banner, the File Header can provide useful information about the current file, such as its name, path, module, and more.

The File Header sits at the top of each editor tab, displaying customizable text and actions. It can be configured globally in the app settings or overridden per project.

File Header
File Header

You can configure the File Header by navigating to Settings → Appearance → Material Theme UI → File Header.

Choose from three visual styles for the header appearance:

The Island style presents the header as a floating, rounded element above the editor content, creating a modern and distinct visual separation.

Island Style
Island Style

The Seamless style integrates the header smoothly with the editor background, providing a more subtle and unified appearance.

Seamless Style
Seamless Style

The Header style uses a traditional header bar appearance with clear boundaries between the header and editor content.

Customize the header text using dynamic variables and patterns:

  • {file}: The name of the currently opened file.
  • {path}: The path of the currently opened file, relative to the project root.
  • {fullPath}: The full path of the currently opened file.
  • {module}: The name of the current module (for Java and Kotlin projects).
  • {project}: The name of the current project.
  • {fileIcon}: The icon of the currently opened file.

You can change the current pattern by right-clicking the header and selecting from a list of predefined patterns.

Predefined Patterns
Predefined Patterns

Both the Project Banner and the File Header support rich text styling, allowing you to change colors, make text bold or italic, and more. This lets you highlight important information such as the file name.

Header Style with Rich Text
Header Style with Rich Text

Configure where the header appears and how its content is aligned:

  • Position: Choose between top, center, or bottom alignment within the header area.
  • Text Alignment: Align the header text to the left, center, or right.
Center Aligned Header
Center Aligned Header
Bottom Positioned Header
Bottom Positioned Header

Fine-tune the header’s size to match your preferences:

  • Height: Adjust the header height in pixels.
  • Opacity: Control the transparency of the header background.

Customize the typography and colors of the header:

  • Font Family: Choose from any installed font.
  • Font Size: Adjust the text size for better readability.
  • Text Color: Set a custom color for the header text.
  • Background Color: Customize the header background color.
Font Size Customization
Font Size Customization

You can also reduce the opacity of the header of inactive editors, or even hide it completely.

Hide Inactive Headers
Hide Inactive Headers

Enable Generate Tint to automatically assign a unique background color to each file’s header. This makes it easier to visually distinguish between open files at a glance.

File Header Tint
File Header Tint

The File Header includes a toolbar with handy actions such as:

  • Copy Path: Copy the file’s path to the clipboard.
  • Open in Split: Open the file in a split editor.
  • Visibility Toggle: Show or hide the header.

Configure the toolbar alignment and visibility in the settings.

Like other Material Theme UI features, the File Header can be configured individually for each project. This allows you to define unique patterns, styles, or colors for different projects.

Access per-project settings via the project-specific Material Theme UI configuration panel.

The File Header feature requires a Premium or Project Frame license. You can purchase a premium license for the plugin or a dedicated license for this feature via the following link: Material Theme Project Frame.