void () { FileTypeManagerImpl.FileTypeWithDescriptor ftd = myRecognizedFileType.getSelectedFileType(); if (ftd == null) return; FileTypeConfigurableInteractions.hashbangRemoved.log(ftd.fileType); String extension = myHashBangs.removeSelected(); if (extension == null) return; myTempPatternsTable.removeHashBangPattern(extension, ftd); IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown(() -> IdeFocusManager.getGlobalInstance().requestFocus(myHashBangs.myList, true)); }