default project settings for golang project

Answered

I've setting up a golang project as described here. I would like every golang project I create in intellij to be configured like this by default. I haven't found a way to define a "default" configuration when creating a golang project. Does anyone have a suggestion on how this could be done?

 

 

3 comments
Comment actions Permalink

I did try that. The problem is that templates don't seem to preserve the specific golang settings that I care about. For example, I have a a file watch that will run goimport on go files in my project. When I create a project from a template, it does not contain that file watcher even though the template was created from a project that did have that file watcher.

0
Comment actions Permalink

You are right, not all settings are preserved when saving project as a template. File Watchers settings are lost. Feel free to file an issue.

0

Please sign in to leave a comment.