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.

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
Better Time Format in Completion
Use the commonly known date/time formatting strings while writing time formatting in Go.
Complete Current Statement
Complete Current Statement
Add trailing commas or braces and move the cursor to the right place with a single keystroke.
Code Completion in Language Injections
Code Completion in Language Injections
See how to use code completion inside strings and other places.