Last active
March 31, 2016 11:57
-
-
Save judwhite/ef2cae8413c0ad188a526ac516b434b3 to your computer and use it in GitHub Desktop.
IntelliJ - gofmt on save, except autosave
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<TaskOptions> | |
<TaskOptions> | |
<option name="arguments" value="-w $FilePath$" /> | |
<option name="checkSyntaxErrors" value="true" /> | |
<option name="description" value="Run gofmt after saving go file" /> | |
<option name="exitCodeBehavior" value="ERROR" /> | |
<option name="fileExtension" value="go" /> | |
<option name="immediateSync" value="false" /> | |
<option name="name" value="Gofmt" /> | |
<option name="output" value="" /> | |
<option name="outputFilters"> | |
<array /> | |
</option> | |
<option name="outputFromStdout" value="false" /> | |
<option name="program" value="{{YOUR-PATH-HERE}}/bin/gofmt" /> | |
<option name="scopeName" value="Project Files" /> | |
<option name="trackOnlyRoot" value="false" /> | |
<option name="workingDir" value="" /> | |
<envs /> | |
</TaskOptions> | |
</TaskOptions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment