You can override any of the existing code completions, copy any of the .xtcmacro files from:
/Applications/Xcode.app/Contents/PlugIns/TextMacros.xctxtmacro
(you'll have to right-click on Xcode.app and say "Show Package Contents" to proceed further down the directory chain unless you are using Terminal)
into a local directory:
~/Library/Application Support/Developer/Shared/Xcode/Specifications
(You'll probably have to make the Specifications directory). Then simply go through all of the definitions in there, to eliminate an annoying completion you can take out the CompletionPrefix
for any entry, or edit the code to be inserted to work how you like.
On a side note, you can put any file named .xctxtmacro and put it in that specifications directory and it will be read in, allowing you to define some very useful custom macros.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…