mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
FileReference: reformat
This commit is contained in:
+1
-2
@@ -233,8 +233,7 @@ public class FileReference implements PsiFileReference, FileReferenceOwner, PsiP
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public
|
||||
String getNewFileTemplateName() {
|
||||
public String getNewFileTemplateName() {
|
||||
FileType fileType = FileTypeRegistry.getInstance().getFileTypeByFileName(myText);
|
||||
if (fileType != UnknownFileType.INSTANCE) {
|
||||
return fileType.getName() + " File." + fileType.getDefaultExtension();
|
||||
|
||||
Reference in New Issue
Block a user