mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup [platform]: sort lists of known IJ commands
GitOrigin-RevId: d08cb00168897e61aa29ce1bb956397f1239d009
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6cc58c2831
commit
d636eb9793
@@ -163,11 +163,42 @@ public final class AppMode {
|
||||
String firstArg = args.get(0);
|
||||
|
||||
List<String> headlessCommands = Arrays.asList(
|
||||
"ant", "duplocate", "dataSources", "dump-launch-parameters", "dump-shared-index", "traverseUI", "buildAppcodeCache", "format",
|
||||
"keymap", "update", "inspections", "intentions", "rdserver-headless", "thinClient-headless", "installFrontendPlugins", "installPlugins", "dumpActions",
|
||||
"cwmHostStatus", "remoteDevStatus", "invalidateCaches", "warmup", "openUrlOnClient", "buildEventsScheme", "inspectopedia-generator", "remoteDevShowHelp",
|
||||
"installGatewayProtocolHandler", "uninstallGatewayProtocolHandler", "appcodeClangModulesDiff", "appcodeClangModulesPrinter", "exit",
|
||||
"qodanaExcludedPlugins", "project-with-shared-caches", "registerBackendLocationForGateway", "cherryPickAnalyzer", "listBundledPlugins");
|
||||
"ant",
|
||||
"appcodeClangModulesDiff",
|
||||
"appcodeClangModulesPrinter",
|
||||
"buildAppcodeCache",
|
||||
"buildEventsScheme",
|
||||
"cherryPickAnalyzer",
|
||||
"cwmHostStatus",
|
||||
"dataSources",
|
||||
"dump-launch-parameters",
|
||||
"dump-shared-index",
|
||||
"dumpActions",
|
||||
"duplocate",
|
||||
"exit",
|
||||
"format",
|
||||
"inspections",
|
||||
"inspectopedia-generator",
|
||||
"installFrontendPlugins",
|
||||
"installGatewayProtocolHandler",
|
||||
"installPlugins",
|
||||
"intentions",
|
||||
"invalidateCaches",
|
||||
"keymap",
|
||||
"listBundledPlugins",
|
||||
"openUrlOnClient",
|
||||
"project-with-shared-caches",
|
||||
"qodanaExcludedPlugins",
|
||||
"rdserver-headless",
|
||||
"registerBackendLocationForGateway",
|
||||
"remoteDevShowHelp",
|
||||
"remoteDevStatus",
|
||||
"thinClient-headless",
|
||||
"traverseUI",
|
||||
"uninstallGatewayProtocolHandler",
|
||||
"update",
|
||||
"warmup"
|
||||
);
|
||||
return headlessCommands.contains(firstArg) || firstArg.length() < 20 && firstArg.endsWith("inspect");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user