Community
Participate
Working Groups
When calling Button b<^Space> the context will give 'b ' as receiverName.
Created attachment 190109 [details] Example of templates completion w/ build 249 I tried to reproduce bug couldn't. This screenshot shows my setup and what it proposes. maybe you could submit a test case to the templates test plug-in?
added: private void setReceiverName(final char[] name) { String s = String.valueOf(name); setReceiverName(s); } private void setReceiverName(final String name) { receiverName = StringUtils.deleteWhitespace(name); } to IntelligentCompletionContext. Whitespaces in receiver names should be nuked now.
could you remove your code that chops the whitespace but write a test that ensures that reveceiverNames do not end with a whitespace?
Closing this issue. Please give latest dev build (v0.5) a try: http://download.eclipse.org/recommenders/updates/dev/e37/ http://download.eclipse.org/recommenders/updates/dev/e42/