GoLand
 
Get GoLand
You are viewing the documentation for an earlier version of GoLand.

Built-in IDE macros

Last modified: 03 August 2023

GoLand provides a number of built-in macros, which are variables that you can use to specify various paths, options, and other command-line arguments for external tools and run configurations. Their values depend on the current context. For example, if you need to pass the name of the directory that contains the current file, you can use $FileDirName$. Or if you need the full path: $FileDir$.