GoLand
 
Get GoLand

Configuring folders within a content root

Last modified: 22 November 2024

Within a content root, GoLand can distinguish between Resource Root and Excluded folders.

  • Resource roots the Resources root icon are intended for resource files in your application (images, Style Sheets, and so on). By assigning a folder to this category, you tell GoLand that files in it and in its subfolders can be referenced relative to this folder instead of specifying full paths to them.

  • Excluded the Excluded root icon contain files and folders ignored by GoLand when indexing, searching, parsing, watching, and so on.

Files in the folder that is marked as resource root can be referenced relative to this folder. Excluded folders are not involved in indexing and therefore they are ignored while searching, parsing, watching, and other operations.