registry

Manage IntelliJ registry keys and feature flags via plugin.xml and RegistryManager.

20.4k|6.0k|Updated Sep 30, 2011
One-click install
npx skills add https://github.com/JetBrains/intellij-community --skill registry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: registry
Source: https://github.com/JetBrains/intellij-community/tree/main/.agents/skills/registry
Command: npx skills add https://github.com/JetBrains/intellij-community --skill registry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides guidelines for using the IntelliJ Registry API to manage registry keys and feature flags consistently across plugins and IDE components.

Core Features & Use Cases

  • Clear guidance on defining registry keys in plugin.xml rather than registry.properties, with sample XML snippets.
  • References to core documentation for registry keys, cloud registry, and access patterns, enabling developers to implement safe and predictable behavior.
  • Practical usage patterns for accessing registry state at runtime using RegistryManager and safe access methods.

Quick Start

Define registry keys in plugin.xml following the recommended approach and verify access using RegistryManager in your plugin code.

Frequently Asked Questions about registry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define IntelliJ registry keys for plugin development?

To define IntelliJ registry keys, you should declare them in your plugin.xml file using the appropriate XML snippets rather than using registry.properties, ensuring safe and predictable behavior across IDE components.

What is the IntelliJ Registry API used for?

The IntelliJ Registry API is used to manage registry keys and feature flags consistently across plugins and IDE components, providing a standardized approach for enabling or disabling specific application behaviors at runtime.

Can I use registry.properties instead of plugin.xml for IntelliJ feature flags?

No, you should not use registry.properties for declaring new feature flags. The recommended approach for IntelliJ plugin development is to define registry keys directly in the plugin.xml file to ensure proper validation and access across components.

What is the best way to manage IntelliJ registry keys across IDE components?

The best way to manage IntelliJ registry keys is to define them in plugin.xml following the recommended frontmatter-driven metadata approach, and then verify their runtime access using RegistryManager to ensure safe and predictable behavior.