[TxMt] Objective-C bundle completion request

Gerd Knops gerti-textmate at bitart.com
Tue Jul 17 17:07:42 UTC 2007


Hi Joachim,

Love your Objective-C bundle contributions, use them all the time!

To facilitate a more compact folding I actually prefer a different  
way of formatting my methods than what "Completion: Partial Method  
Signature" produces. May I suggest to replace

	out = out.chomp.strip + "\n\{$0\n#{rv}\}"

with something similar to this (sorry, no Ruby coder):

	if ENV['TM_C_METHODBODY']
		out = out.chomp.strip + eval(ENV['TM_C_METHODBODY'])
	else
		out = out.chomp.strip + "\n\{$0\n#{rv}\}"
	end

so I can adjust it to my preference?

Thanks

Gerd




More information about the textmate mailing list