Got rid of the of the snippet placeholders around and after the result of the to_snippet method. Now just returns with a $0 placeholder or numbered placeholders if there is an () kind of stuff. Changed: U trunk/Support/lib/codecompletion.rb U trunk/Support/lib/codecompletion_test.rb