Project security
To prevent potential security risks, GoLand lets you decide how to open a project if you're not sure about its source. GoLand warns you about tasks or configurations that will be executed during the opening process and lets you configure sources that you can trust.
Startup tasks
When you open a project created on a different machine, it might contain some scripts or tasks that are executed during the opening process. If such tasks are found, GoLand displays a notification suggesting that the code you are about to execute might be harmful.
You can review what tasks will be executed and modify the settings.
Review the startup tasks
In the Settings/Preferences dialog (Ctrl+Alt+S), go to .
On the Startup Tasks settings page, you can review and modify the startup tasks.
Trusted locations
You can configure what sources GoLand should consider safe and load such projects automatically during the opening process.
You can add your home directory to the trusted locations to disable GoLand's warnings about untrusted projects.
Configure trusted locations
In the Settings/Preferences dialog (Ctrl+Alt+S), go to .
On the Trusted Locations settings page, configure the local directories where the projects you consider trusted reside. Click OK to save the changes.
The next time you open a project from one of those locations, GoLand will automatically load the project.