mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't load default file types if DBE/CIDR
This commit is contained in:
+5
@@ -277,6 +277,11 @@ public class FileTypeManagerImpl extends FileTypeManagerEx implements Persistent
|
||||
registerFileTypeWithoutNotification(pair.fileType, pair.matchers, true);
|
||||
}
|
||||
|
||||
if (PlatformUtils.isDatabaseIDE() || PlatformUtils.isCidr()) {
|
||||
// build scripts are correct, but it is required to run from sources
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
URL defaultFileTypesUrl = FileTypeManagerImpl.class.getResource("/defaultFileTypes.xml");
|
||||
if (defaultFileTypesUrl != null) {
|
||||
|
||||
Reference in New Issue
Block a user