void (@NotNull ResourceBundle resourceBundle) { final FileEditorManager fileEditorManager = FileEditorManager.getInstance(resourceBundle.getProject()); fileEditorManager.closeFile(new ResourceBundleAsVirtualFile(resourceBundle)); for (final PropertiesFile propertiesFile : resourceBundle.getPropertiesFiles()) { fileEditorManager.closeFile(propertiesFile.getVirtualFile()); } }