mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Don't run detection from content for StubVirtualFile
GitOrigin-RevId: cf33436c3c02da365fcc2144ec493b793c323d82
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4a0f9fa272
commit
bcc4505751
+3
@@ -1072,6 +1072,9 @@ public class FileTypeManagerImpl extends FileTypeManagerEx implements Persistent
|
||||
if (fileTypeByFileName != UnknownFileType.INSTANCE) {
|
||||
return false;
|
||||
}
|
||||
if (file instanceof StubVirtualFile) {
|
||||
return false;
|
||||
}
|
||||
|
||||
FileType detectedFromContentFileType = file.getUserData(DETECTED_FROM_CONTENT_FILE_TYPE_KEY);
|
||||
if (detectedFromContentFileType != null) {
|
||||
|
||||
Reference in New Issue
Block a user