[Analysis API FIR] do not check for write access on inside ShortenCommandImpl as it breaks intention preview in IDE
This commit is contained in:
-2
@@ -625,8 +625,6 @@ private class ShortenCommandImpl(
|
||||
) : ShortenCommand {
|
||||
|
||||
override fun invokeShortening() {
|
||||
ApplicationManager.getApplication().assertWriteAccessAllowed()
|
||||
|
||||
for (nameToImport in importsToAdd) {
|
||||
addImportToFile(targetFile.project, targetFile, nameToImport)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user