KT-1673 Respect formatter settings in the completion list - apply standard renderer

#KT-1673 fixed
This commit is contained in:
Nikolay Krasko
2012-05-22 01:45:36 +04:00
parent 8623fba01b
commit a7b11d2b4e
4 changed files with 18 additions and 10 deletions
@@ -249,6 +249,12 @@ public class DescriptorRenderer implements Renderer<DeclarationDescriptor> {
return stringBuilder.toString();
}
public String renderFunctionParameters(@NotNull FunctionDescriptor functionDescriptor) {
StringBuilder stringBuilder = new StringBuilder();
rootVisitor.renderValueParameters(functionDescriptor, stringBuilder);
return stringBuilder.toString();
}
protected boolean shouldRenderDefinedIn() {
return true;
}