void (@NotNull VirtualFile file, boolean isEnabled) { Document document = FileDocumentManager.getInstance().getDocument(file); if (document != null) { document.putUserData(NO_IMPLICIT_SAVE, isEnabled ? null : true); } }