Change file's package to match directory: add space after package keyword if needed
#KT-39604 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
1ce39222e3
commit
1188f4617a
@@ -137,6 +137,7 @@ public class KtPackageDirective extends KtModifierListOwnerStub<KotlinPlaceHolde
|
||||
PsiElement keyword = getPackageKeyword();
|
||||
if (keyword != null) {
|
||||
addAfter(newExpression, keyword);
|
||||
addAfter(psiFactory.createWhiteSpace(), keyword);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user