void () { for(VirtualFile virtualFile : myEditorManager.getOpenFiles()) { LightEditorInfo editorInfo = Objects.requireNonNull(myEditorManager.getEditorInfo(virtualFile)); if (editorInfo.isNew()) { VirtualFile preferredTarget = LightEditUtil.getPreferredSaveTarget(editorInfo); if (preferredTarget != null) { saveEditorAs(editorInfo, preferredTarget); } else { saveToAnotherFile(virtualFile); } } } }