Exclude items from auto-imports and completion

Exclude certain paths from auto-import and completion

Exclude undesired imports from being automatically imported or added to completion list.

How to use:

In Settings/Preferences | Go | Imports you can add as many as you want import statements that will be excluded from code completion and auto-import.


Related Resources

Better time format in completion
Use the commonly known date/time formatting strings while writing time formatting in Go
Complete Current Statement
Add trailing commas or braces and move the cursor with a single keystroke
Code Completion in Language Injections
See how to use code completion inside strings and other places