Methods for editing in JetValueArgumentList

This commit is contained in:
Valentin Kipyatkov
2015-05-16 16:58:43 +03:00
parent 1e60c24134
commit 25e323e960
12 changed files with 162 additions and 104 deletions
@@ -122,10 +122,7 @@ public class KotlinSuppressIntentionAction(
args.replace(newArgList)
}
else {
val rightParen = args.getRightParenthesis()
args.addBefore(psiFactory.createComma(), rightParen)
args.addBefore(psiFactory.createWhiteSpace(), rightParen)
args.addBefore(newArgList.getArguments()[0], rightParen)
args.addArgument(newArgList.getArguments()[0])
}
}