congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
PluginId.getIdString
Code IndexAdd Tabnine to your IDE (free)

How to use
getIdString
method
in
com.intellij.openapi.extensions.PluginId

Best Java code snippets using com.intellij.openapi.extensions.PluginId.getIdString (Showing top 11 results out of 315)

origin: go-lang-plugin-org/go-lang-idea-plugin

IdeaPluginDescriptor plugin = getPlugin();
String pluginVersion = plugin.getVersion();
String pluginId = plugin.getPluginId().getIdString();
String os = URLEncoder.encode(SystemInfo.OS_NAME + " " + SystemInfo.OS_VERSION, CharsetToolkit.UTF8);
String uid = PermanentInstallationID.get();
origin: GoogleCloudPlatform/google-cloud-intellij

@Override
public String getPluginId() {
 return plugin.getPluginId().getIdString();
}
origin: AlexanderBartash/hybris-integration-intellij-idea-plugin

public boolean isAnyMissing() {
  if (!notEnabledPlugins.isEmpty()) {
    return true;
  }
  if (PlatformUtils.isIdeaUltimate()) {
    return !notInstalledPlugins.isEmpty();
  }
  for (PluginId pluginId : notInstalledPlugins) {
    if (!ULTIMATE_EDITION_ONLY.contains(pluginId.getIdString())) {
      return true;
    }
  }
  return false;
}
origin: AlexanderBartash/hybris-integration-intellij-idea-plugin

private void enablePlugins() {
  notEnabledPlugins.stream().forEach(id -> {
    PluginManager.enablePlugin(id.getIdString());
  });
  final ApplicationEx app = (ApplicationEx) ApplicationManager.getApplication();
  app.restart(true);
}
origin: AlexanderBartash/hybris-integration-intellij-idea-plugin

private void checkDependentPlugins() {
  final IdeaPluginDescriptor hybrisPlugin = PluginManager.getPlugin(PluginId.getId(HybrisConstants.PLUGIN_ID));
  final PluginId[] dependentPluginIds = hybrisPlugin.getOptionalDependentPluginIds();
  Arrays.stream(dependentPluginIds).forEach(id -> {
    if (id.getIdString().startsWith(EXCLUDED_ID_PREFIX)) {
      return;
    }
    final boolean installed = PluginManager.isPluginInstalled(id);
    if (!installed) {
      notInstalledPlugins.add(id);
      return;
    }
    final IdeaPluginDescriptor plugin = PluginManager.getPlugin(id);
    if (!plugin.isEnabled()) {
      notEnabledPlugins.add(id);
    }
  });
}
origin: BashSupport/BashSupport

private void queryPluginDescriptor(@NotNull PluginDescriptor pluginDescriptor, @NotNull Properties properties) {
  PluginId descPluginId = pluginDescriptor.getPluginId();
  if (descPluginId != null) {
    String pluginIdString = descPluginId.getIdString();
    if (!StringUtil.isEmptyOrSpaces(pluginIdString)) {
      properties.put(PLUGIN_ID_PROPERTY_KEY, pluginIdString);
    }
  }
  if (pluginDescriptor instanceof IdeaPluginDescriptor) {
    IdeaPluginDescriptor ideaPluginDescriptor = (IdeaPluginDescriptor) pluginDescriptor;
    String descName = ideaPluginDescriptor.getName();
    if (!StringUtil.isEmptyOrSpaces(descName)) {
      properties.put(PLUGIN_NAME_PROPERTY_KEY, descName);
    }
    String descVersion = ideaPluginDescriptor.getVersion();
    if (!StringUtil.isEmptyOrSpaces(descVersion)) {
      properties.put(PLUGIN_VERSION_PROPERTY_KEY, descVersion);
    }
    String descEmail = ideaPluginDescriptor.getVendorEmail();
    if (!StringUtil.isEmptyOrSpaces(descEmail)) {
      properties.put(EMAIL_TO_PROPERTY_KEY, descEmail);
    }
  }
}
origin: intellij-dlanguage/intellij-dlanguage

params.put("Plugin Version", error.getPluginVersion());
params.put("Plugin Id", pluginDescriptor.getPluginId().getIdString());
origin: Haehnchen/idea-php-toolbox

  @NotNull
  @Override
  public Response handle(@NotNull RequestMatcher requestMatcher) {
    InfoDic info = new InfoDic();

    info.fullVersion = ApplicationInfo.getInstance().getFullVersion();
    info.apiVersion = ApplicationInfo.getInstance().getApiVersion();
    info.versionName = ApplicationInfo.getInstance().getVersionName();
    info.projects = ProjectIndexHttpAction.getProjects();

    info.routes = ContainerUtil.map(RemoteUtil.getRoutes(), route -> new HashMap<String, String>() {{
      put("path", route.getPath());
      put("method", route.getMethod());
    }});

    for (IdeaPluginDescriptor descriptor : PluginManager.getPlugins()) {
      Map<String, String> map = new TreeMap<>();

      map.put("name", descriptor.getName());
      map.put("version", descriptor.getVersion());
      map.put("pluginId", descriptor.getPluginId().getIdString());

      info.plugins.add(map);
    }

    return new JsonResponse(info);
  }
}
origin: GoogleCloudPlatform/google-cloud-intellij

public void showAndDisablePlugin() {
 show();
 int exitCode = getExitCode();
 if (exitCode == DISABLE_EXIT_CODE || exitCode == DISABLE_AND_RESTART_EXIT_CODE) {
  PluginManagerCore.disablePlugin(pluginId.getIdString());
  UsageTrackerService.getInstance()
    .trackEvent(GctTracking.APP_ENGINE_OLD_PLUGIN_DEACTIVATED)
    .ping();
 }
 if (exitCode == DISABLE_AND_RESTART_EXIT_CODE) {
  ApplicationManager.getApplication().restart();
 }
}
origin: intellij-dlanguage/intellij-dlanguage

Sentry.getContext().addExtra("plugin id", pluginId.getIdString());
origin: Camelcade/Perl5-IDEA

IdeaPluginDescriptor plugin = getPlugin();
String pluginVersion = plugin.getVersion();
String pluginId = plugin.getPluginId().getIdString();
String os = URLEncoder.encode(SystemInfo.OS_NAME + " " + SystemInfo.OS_VERSION, CharsetToolkit.UTF8);
String uid = PermanentInstallationID.get();
com.intellij.openapi.extensionsPluginIdgetIdString

Popular methods of PluginId

  • getId
  • findId
  • toString

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • String (java.lang)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now