mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add Rider (internal framework)
This commit is contained in:
@@ -36,6 +36,7 @@ public class PlatformUtils {
|
||||
public static final String PHP_PREFIX = "PhpStorm";
|
||||
public static final String WEB_PREFIX = "WebStorm";
|
||||
public static final String DBE_PREFIX = "DataGrip";
|
||||
public static final String RIDER_PREFIX = "Rider";
|
||||
|
||||
public static String getPlatformPrefix() {
|
||||
return getPlatformPrefix(IDEA_PREFIX);
|
||||
@@ -106,6 +107,10 @@ public class PlatformUtils {
|
||||
return is(DBE_PREFIX);
|
||||
}
|
||||
|
||||
public static boolean isRider() {
|
||||
return is(RIDER_PREFIX);
|
||||
}
|
||||
|
||||
public static boolean isCommunityEdition() {
|
||||
return isIdeaCommunity() || isPyCharmCommunity();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user