mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
code samples: MD reformat
This commit is contained in:
parent
02da6b5fcd
commit
6ab54c55b1
@ -12,11 +12,11 @@ These samples show you how features work and help you jumpstart your plugins.
|
|||||||
> **NOTE** To start a new plugin project, consider using [IntelliJ Platform Plugin Template][gh:template] which offers a pure boilerplate template to make it easier to create a new plugin project.
|
> **NOTE** To start a new plugin project, consider using [IntelliJ Platform Plugin Template][gh:template] which offers a pure boilerplate template to make it easier to create a new plugin project.
|
||||||
|
|
||||||
To learn more, browse [available Extension Points][docs:eps], explore Extension Point usages in open-source plugins using [IntelliJ Platform Explorer](https://jb.gg/ipe) and learn how to [Explore the IntelliJ Platform API][docs:explore-api].
|
To learn more, browse [available Extension Points][docs:eps], explore Extension Point usages in open-source plugins using [IntelliJ Platform Explorer](https://jb.gg/ipe) and learn how to [Explore the IntelliJ Platform API][docs:explore-api].
|
||||||
|
|
||||||
## Target Platform
|
## Target Platform
|
||||||
|
|
||||||
All Code Samples target the latest GA platform release.
|
All Code Samples target the latest GA platform release.
|
||||||
Previous releases are made available via [tags](https://github.com/JetBrains/intellij-sdk-code-samples/tags).
|
Previous releases are made available via [tags](https://github.com/JetBrains/intellij-sdk-code-samples/tags).
|
||||||
|
|
||||||
## Structure
|
## Structure
|
||||||
|
|
||||||
@ -27,34 +27,34 @@ It describes definitions of the actions, extensions, or listeners provided by th
|
|||||||
|
|
||||||
## Code Samples
|
## Code Samples
|
||||||
|
|
||||||
Please see [Code Samples][docs:code-samples] topic on how to import and run code samples.
|
Please see [Code Samples][docs:code-samples] topic on how to import and run code samples.
|
||||||
|
|
||||||
In the following table, you may find all available samples provided in the separated directories as stand-alone projects available for running with the Gradle `:runIde` task.
|
In the following table, you may find all available samples provided in the separated directories as stand-alone projects available for running with the Gradle `:runIde` task.
|
||||||
|
|
||||||
| Code Sample | Description |
|
| Code Sample | Description |
|
||||||
| ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [Action Basics](./action_basics) | Action and Action Group patterns implementation, adds entries to the Tools menu. |
|
| [Action Basics](./action_basics) | Action and Action Group patterns implementation, adds entries to the Tools menu. |
|
||||||
| [Comparing References Inspection](./comparing_references_inspection) | Local Inspection Tool, adds entries to **Settings/Preferences | Editor | Inspections | Java | Probable Bugs**. |
|
| [Comparing References Inspection](./comparing_references_inspection) | Local Inspection Tool, adds entries to **Settings/Preferences | Editor | Inspections | Java | Probable Bugs**. |
|
||||||
| [Conditional Operator Intention](./conditional_operator_intention) | Intention action, suggests converting a ternary operator into an `if` block and adds entry to **Settings/Preferences | Editor | Intentions | SDK Intentions**. |
|
| [Conditional Operator Intention](./conditional_operator_intention) | Intention action, suggests converting a ternary operator into an `if` block and adds entry to **Settings/Preferences | Editor | Intentions | SDK Intentions**. |
|
||||||
| [Editor Basics](./editor_basics) | Basic Editor APIs example with editor popup menu with extra actions. |
|
| [Editor Basics](./editor_basics) | Basic Editor APIs example with editor popup menu with extra actions. |
|
||||||
| [Facet Basics](./facet_basics) | Custom Facet pattern, adds *SDK Facet* to the **Project Structure | Project Settings | Facets** menu. |
|
| [Facet Basics](./facet_basics) | Custom Facet pattern, adds *SDK Facet* to the **Project Structure | Project Settings | Facets** menu. |
|
||||||
| [Framework Basics](./framework_basics) | Basic *SDK Demo Framework* support added to the **File | New | Project | Java** wizard. |
|
| [Framework Basics](./framework_basics) | Basic *SDK Demo Framework* support added to the **File | New | Project | Java** wizard. |
|
||||||
| [Inspection Basics](./inspection_basics) | Code Inspection entry added to the **Settings/Preferences | Editor | Inspections | SDK | Example Tools**. |
|
| [Inspection Basics](./inspection_basics) | Code Inspection entry added to the **Settings/Preferences | Editor | Inspections | SDK | Example Tools**. |
|
||||||
| [Kotlin Demo](./kotlin_demo) | Kotlin example extending the *Main Menu* with a **Greeting** menu group. |
|
| [Kotlin Demo](./kotlin_demo) | Kotlin example extending the *Main Menu* with a **Greeting** menu group. |
|
||||||
| [Live Templates](./live_templates) | Live templates for Markdown language, adds an entry to the **Settings/Preferences | Editor | Live Templates** dialog. |
|
| [Live Templates](./live_templates) | Live templates for Markdown language, adds an entry to the **Settings/Preferences | Editor | Live Templates** dialog. |
|
||||||
| [Max Opened Projects](./max_opened_projects) | Application services and listeners, shows warning dialog when more than 3 open projects are opened. |
|
| [Max Opened Projects](./max_opened_projects) | Application services and listeners, shows warning dialog when more than 3 open projects are opened. |
|
||||||
| [Module](./module) | *SDK Demo Module* module type added to the **File | New | Project...** wizard. |
|
| [Module](./module) | *SDK Demo Module* module type added to the **File | New | Project...** wizard. |
|
||||||
| [Product Specific - PyCharm Sample](./product_specific/pycharm_basics) | Plugin project configuration for the PyCharm IDE. |
|
| [Product Specific - PyCharm Sample](./product_specific/pycharm_basics) | Plugin project configuration for the PyCharm IDE. |
|
||||||
| [Project Model](./project_model) | Interacts with the project model, adds menu items to **Tools** and **Editor Context** menus. |
|
| [Project Model](./project_model) | Interacts with the project model, adds menu items to **Tools** and **Editor Context** menus. |
|
||||||
| [Project View Pane](./project_view_pane) | Project View Pane listing only image files. |
|
| [Project View Pane](./project_view_pane) | Project View Pane listing only image files. |
|
||||||
| [Project Wizard](./project_wizard) | Project Wizard example with demo steps. |
|
| [Project Wizard](./project_wizard) | Project Wizard example with demo steps. |
|
||||||
| [PSI Demo](./psi_demo) | PSI Navigation features presentation. |
|
| [PSI Demo](./psi_demo) | PSI Navigation features presentation. |
|
||||||
| [Run Configuration](./run_configuration) | Run configuration implementation with factory, options and UI. |
|
| [Run Configuration](./run_configuration) | Run configuration implementation with factory, options and UI. |
|
||||||
| [Settings](./settings) | Custom settings panel, adds a settings panel to the **Settings/Preferences** panel under **Tools**. |
|
| [Settings](./settings) | Custom settings panel, adds a settings panel to the **Settings/Preferences** panel under **Tools**. |
|
||||||
| [Simple Language Plugin](./simple_language_plugin) | Custom language support, defines a new *Simple language* with syntax highlighting, annotations, code completion, and other features. |
|
| [Simple Language Plugin](./simple_language_plugin) | Custom language support, defines a new *Simple language* with syntax highlighting, annotations, code completion, and other features. |
|
||||||
| [Theme Basics](./theme_basics) | Sample *UI Theme* plugin with basic interface modifications. |
|
| [Theme Basics](./theme_basics) | Sample *UI Theme* plugin with basic interface modifications. |
|
||||||
| [Tool Window](./tool_window) | Custom Tool Window example plugin. |
|
| [Tool Window](./tool_window) | Custom Tool Window example plugin. |
|
||||||
| [Tree Structure Provider](./tree_structure_provider) | Tree Structure Provider showing only plain text files. |
|
| [Tree Structure Provider](./tree_structure_provider) | Tree Structure Provider showing only plain text files. |
|
||||||
|
|
||||||
[gh:workflow-code-samples]: https://github.com/JetBrains/intellij-sdk-docs/actions?query=workflow%3ACode%20Samples
|
[gh:workflow-code-samples]: https://github.com/JetBrains/intellij-sdk-docs/actions?query=workflow%3ACode%20Samples
|
||||||
[gh:template]: https://github.com/JetBrains/intellij-platform-plugin-template
|
[gh:template]: https://github.com/JetBrains/intellij-platform-plugin-template
|
||||||
@ -70,4 +70,4 @@ In the following table, you may find all available samples provided in the separ
|
|||||||
[docs:eps]: https://plugins.jetbrains.com/docs/intellij/extension-point-list.html
|
[docs:eps]: https://plugins.jetbrains.com/docs/intellij/extension-point-list.html
|
||||||
[docs:gradle]: https://plugins.jetbrains.com/docs/intellij/gradle-build-system.html
|
[docs:gradle]: https://plugins.jetbrains.com/docs/intellij/gradle-build-system.html
|
||||||
[docs:plugin.xml]: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html
|
[docs:plugin.xml]: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html
|
||||||
[docs:explore-api]: https://plugins.jetbrains.com/docs/intellij/explore-api.html
|
[docs:explore-api]: https://plugins.jetbrains.com/docs/intellij/explore-api.html
|
||||||
|
@ -8,7 +8,7 @@ The Sample implements `com.intellij.sample` Extension Point, which should be exp
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| --------------------- | ------------------------------------------------- | --------------------- |
|
|-----------------------|---------------------------------------------------|-----------------------|
|
||||||
| `com.intellij.sample` | [SampleExtensionPoint][file:SampleExtensionPoint] | `ExtensionPoint` |
|
| `com.intellij.sample` | [SampleExtensionPoint][file:SampleExtensionPoint] | `ExtensionPoint` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
@ -16,7 +16,7 @@ The Sample implements `com.intellij.sample` Extension Point, which should be exp
|
|||||||
### Actions
|
### Actions
|
||||||
|
|
||||||
| ID | Implementation | Base Action Class |
|
| ID | Implementation | Base Action Class |
|
||||||
| -------------------------------------- | --------------------------------- | ----------------- |
|
|----------------------------------------|-----------------------------------|-------------------|
|
||||||
| `org.intellij.sdk.action.SampleAction` | [SampleAction][file:SampleAction] | `AnAction` |
|
| `org.intellij.sdk.action.SampleAction` | [SampleAction][file:SampleAction] | `AnAction` |
|
||||||
|
|
||||||
*Reference: [Action System in IntelliJ SDK Docs][docs:actions]*
|
*Reference: [Action System in IntelliJ SDK Docs][docs:actions]*
|
||||||
@ -24,7 +24,7 @@ The Sample implements `com.intellij.sample` Extension Point, which should be exp
|
|||||||
### Listeners
|
### Listeners
|
||||||
|
|
||||||
| Name | Implementation | Listener Class |
|
| Name | Implementation | Listener Class |
|
||||||
| -------- | ------------------------------------- | -------------- |
|
|----------|---------------------------------------|----------------|
|
||||||
| listener | [SampleListener][file:SampleListener] | `Listener` |
|
| listener | [SampleListener][file:SampleListener] | `Listener` |
|
||||||
|
|
||||||
*Reference: [Plugin Listeners in IntelliJ SDK Docs][docs:listeners]*
|
*Reference: [Plugin Listeners in IntelliJ SDK Docs][docs:listeners]*
|
||||||
|
@ -18,7 +18,7 @@ Additional features of the plugin:
|
|||||||
### Actions
|
### Actions
|
||||||
|
|
||||||
| ID | Implementation | Base Action Class |
|
| ID | Implementation | Base Action Class |
|
||||||
| -------------------------------------------------- | --------------------------------------------------------- | ----------------- |
|
|----------------------------------------------------|-----------------------------------------------------------|-------------------|
|
||||||
| `org.intellij.sdk.action.GroupPopDialogAction` | [PopupDialogAction][file:PopupDialogAction] | `AnAction` |
|
| `org.intellij.sdk.action.GroupPopDialogAction` | [PopupDialogAction][file:PopupDialogAction] | `AnAction` |
|
||||||
| `org.intellij.sdk.action.PopupDialogAction` | [PopupDialogAction][file:PopupDialogAction] | `AnAction` |
|
| `org.intellij.sdk.action.PopupDialogAction` | [PopupDialogAction][file:PopupDialogAction] | `AnAction` |
|
||||||
| `org.intellij.sdk.action.CustomGroupedAction` | [PopupDialogAction][file:PopupDialogAction] | `AnAction` |
|
| `org.intellij.sdk.action.CustomGroupedAction` | [PopupDialogAction][file:PopupDialogAction] | `AnAction` |
|
||||||
|
@ -11,7 +11,7 @@ If such a check finds a comparison using the `==` or !`=` operators instead of t
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ------------------------------ | ------------------------------------------------------------------- | ------------------------------------- |
|
|--------------------------------|---------------------------------------------------------------------|---------------------------------------|
|
||||||
| `com.intellij.localInspection` | [ComparingReferencesInspection][file:ComparingReferencesInspection] | `AbstractBaseJavaLocalInspectionTool` |
|
| `com.intellij.localInspection` | [ComparingReferencesInspection][file:ComparingReferencesInspection] | `AbstractBaseJavaLocalInspectionTool` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -36,7 +36,7 @@ The converter in the `isAvailable` method, has defined the token check to match
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ------------------------------ | ----------------------------------------------------------------- | ------------------------------- |
|
|--------------------------------|-------------------------------------------------------------------|---------------------------------|
|
||||||
| `com.intellij.intentionAction` | [ConditionalOperatorConverter][file:ConditionalOperatorConverter] | `PsiElementBaseIntentionAction` |
|
| `com.intellij.intentionAction` | [ConditionalOperatorConverter][file:ConditionalOperatorConverter] | `PsiElementBaseIntentionAction` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -13,7 +13,7 @@ In addition, three actions are available in the Editor context menu:
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| --------------------------- | ------------------------------------- | ---------------------- |
|
|-----------------------------|---------------------------------------|------------------------|
|
||||||
| `com.intellij.typedHandler` | [MyTypedHandler][file:MyTypedHandler] | `TypedHandlerDelegate` |
|
| `com.intellij.typedHandler` | [MyTypedHandler][file:MyTypedHandler] | `TypedHandlerDelegate` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
@ -21,7 +21,7 @@ In addition, three actions are available in the Editor context menu:
|
|||||||
### Actions
|
### Actions
|
||||||
|
|
||||||
| ID | Implementation | Base Action Class |
|
| ID | Implementation | Base Action Class |
|
||||||
| ------------------------------------------ | ----------------------------------------------------------- | ----------------- |
|
|--------------------------------------------|-------------------------------------------------------------|-------------------|
|
||||||
| `EditorBasics.EditorIllustrationAction` | [EditorIllustrationAction][file:EditorIllustrationAction] | `AnAction` |
|
| `EditorBasics.EditorIllustrationAction` | [EditorIllustrationAction][file:EditorIllustrationAction] | `AnAction` |
|
||||||
| `EditorBasics.EditorHandlerIllustration` | [EditorHandlerIllustration][file:EditorHandlerIllustration] | `AnAction` |
|
| `EditorBasics.EditorHandlerIllustration` | [EditorHandlerIllustration][file:EditorHandlerIllustration] | `AnAction` |
|
||||||
| `EditorBasics.LogicalPositionIllustration` | [EditorAreaIllustration][file:EditorAreaIllustration] | `AnAction` |
|
| `EditorBasics.LogicalPositionIllustration` | [EditorAreaIllustration][file:EditorAreaIllustration] | `AnAction` |
|
||||||
|
@ -12,7 +12,7 @@ It allows us to specify any configuration specified by the `FacetConfiguration`
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ------------------------ | ----------------------------------- | --------------------- |
|
|--------------------------|-------------------------------------|-----------------------|
|
||||||
| `com.intellij.facetType` | [DemoFacetType][file:DemoFacetType] | `FacetType` |
|
| `com.intellij.facetType` | [DemoFacetType][file:DemoFacetType] | `FacetType` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -9,7 +9,7 @@ This sample implementation adds a new *SDK Demo Framework* support in the Java t
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ----------------------------- | ----------------------------------- | --------------------- |
|
|-------------------------------|-------------------------------------|-----------------------|
|
||||||
| `com.intellij.framework.type` | [DemoFramework][file:DemoFramework] | `FrameworkTypeEx` |
|
| `com.intellij.framework.type` | [DemoFramework][file:DemoFramework] | `FrameworkTypeEx` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -10,7 +10,7 @@ Inspection, enabled by default, uses a visitor passing all PSI elements with no
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ------------------------------ | --------------------------------------------- | --------------------- |
|
|--------------------------------|-----------------------------------------------|-----------------------|
|
||||||
| `com.intellij.localInspection` | [DemoCodeInspection][file:DemoCodeInspection] | `LocalInspectionTool` |
|
| `com.intellij.localInspection` | [DemoCodeInspection][file:DemoCodeInspection] | `LocalInspectionTool` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -10,7 +10,7 @@ Action, added to the Main Menu, shows a message dialog when invoked.
|
|||||||
### Actions
|
### Actions
|
||||||
|
|
||||||
| ID | Implementation | Base Action Class |
|
| ID | Implementation | Base Action Class |
|
||||||
| ---------------- | ------------------------------- | ----------------- |
|
|------------------|---------------------------------|-------------------|
|
||||||
| `MyPlugin.Hello` | [HelloAction][file:HelloAction] | `AnAction` |
|
| `MyPlugin.Hello` | [HelloAction][file:HelloAction] | `AnAction` |
|
||||||
|
|
||||||
*Reference: [Action System in IntelliJ SDK Docs][docs:actions]*
|
*Reference: [Action System in IntelliJ SDK Docs][docs:actions]*
|
||||||
|
@ -11,7 +11,7 @@ Live Templates Sample Project implements two example live templates for the Mark
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ----------------------------------- | --------------------------------------- | --------------------- |
|
|-------------------------------------|-----------------------------------------|-----------------------|
|
||||||
| `com.intellij.defaultLiveTemplates` | [Markdown][file:Markdown] | n/a |
|
| `com.intellij.defaultLiveTemplates` | [Markdown][file:Markdown] | n/a |
|
||||||
| `com.intellij.liveTemplateContext` | [MarkdownContext][file:MarkdownContext] | `TemplateContextType` |
|
| `com.intellij.liveTemplateContext` | [MarkdownContext][file:MarkdownContext] | `TemplateContextType` |
|
||||||
| `com.intellij.liveTemplateMacro` | [TitleCaseMacro][file:TitleCaseMacro] | `MacroBase` |
|
| `com.intellij.liveTemplateMacro` | [TitleCaseMacro][file:TitleCaseMacro] | `MacroBase` |
|
||||||
|
@ -11,7 +11,7 @@ After opening each one, a message dialog is presented to the user with the curre
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| --------------------------------- | ----------------------------------------------------- | --------------------- |
|
|-----------------------------------|-------------------------------------------------------|-----------------------|
|
||||||
| `com.intellij.applicationService` | [ProjectCountingService][file:ProjectCountingService] | n/a |
|
| `com.intellij.applicationService` | [ProjectCountingService][file:ProjectCountingService] | n/a |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
@ -19,7 +19,7 @@ After opening each one, a message dialog is presented to the user with the curre
|
|||||||
### Application Listeners
|
### Application Listeners
|
||||||
|
|
||||||
| Name | Implementation | Listener Class |
|
| Name | Implementation | Listener Class |
|
||||||
| -------- | --------------------------------------------------------- | ------------------------ |
|
|----------|-----------------------------------------------------------|--------------------------|
|
||||||
| listener | [ProjectOpenCloseListener][file:ProjectOpenCloseListener] | `ProjectManagerListener` |
|
| listener | [ProjectOpenCloseListener][file:ProjectOpenCloseListener] | `ProjectManagerListener` |
|
||||||
|
|
||||||
*Reference: [Plugin Listeners in IntelliJ SDK Docs][docs:listeners]*
|
*Reference: [Plugin Listeners in IntelliJ SDK Docs][docs:listeners]*
|
||||||
|
@ -9,7 +9,7 @@ Module with a custom name, description, and icon set provides a `ModuleBuilder`
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ------------------------- | ------------------------------------- | --------------------- |
|
|---------------------------|---------------------------------------|-----------------------|
|
||||||
| `com.intellij.moduleType` | [DemoModuleType][file:DemoModuleType] | `ModuleType` |
|
| `com.intellij.moduleType` | [DemoModuleType][file:DemoModuleType] | `ModuleType` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -9,7 +9,7 @@ The implementation utilizes a simple action added to the *MainMenu* group displa
|
|||||||
### Actions
|
### Actions
|
||||||
|
|
||||||
| ID | Implementation | Base Action Class |
|
| ID | Implementation | Base Action Class |
|
||||||
| -------------------------------------------- | ------------------------------------------- | ----------------- |
|
|----------------------------------------------|---------------------------------------------|-------------------|
|
||||||
| `org.intellij.sdk.pycharm.PopupDialogAction` | [PopupDialogAction][file:PopupDialogAction] | `AnAction` |
|
| `org.intellij.sdk.pycharm.PopupDialogAction` | [PopupDialogAction][file:PopupDialogAction] | `AnAction` |
|
||||||
|
|
||||||
*Reference: [Action System in IntelliJ SDK Docs][docs:actions]*
|
*Reference: [Action System in IntelliJ SDK Docs][docs:actions]*
|
||||||
|
@ -14,7 +14,7 @@ Within the implemented actions, you will be able to:
|
|||||||
### Actions
|
### Actions
|
||||||
|
|
||||||
| ID | Implementation | Base Action Class |
|
| ID | Implementation | Base Action Class |
|
||||||
| --------------------------------- | ----------------------------------------------------------------- | ----------------- |
|
|-----------------------------------|-------------------------------------------------------------------|-------------------|
|
||||||
| `ProjectModel.SourceRoots` | [ShowSourceRootsActions][file:ShowSourceRootsActions] | `AnAction` |
|
| `ProjectModel.SourceRoots` | [ShowSourceRootsActions][file:ShowSourceRootsActions] | `AnAction` |
|
||||||
| `ProjectModel.ProjectSdk` | [ProjectSdkAction][file:ProjectSdkAction] | `AnAction` |
|
| `ProjectModel.ProjectSdk` | [ProjectSdkAction][file:ProjectSdkAction] | `AnAction` |
|
||||||
| `ProjectModel.ProjectFileIndex` | [ProjectFileIndexSampleAction][file:ProjectFileIndexSampleAction] | `AnAction` |
|
| `ProjectModel.ProjectFileIndex` | [ProjectFileIndexSampleAction][file:ProjectFileIndexSampleAction] | `AnAction` |
|
||||||
|
@ -9,7 +9,7 @@ The current demo describes an implementation of the `com.intellij.projectViewPan
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ------------------------------ | --------------------------------------------------- | ---------------------------- |
|
|--------------------------------|-----------------------------------------------------|------------------------------|
|
||||||
| `com.intellij.projectViewPane` | [ImagesProjectViewPane][file:ImagesProjectViewPane] | `AbstractProjectViewPSIPane` |
|
| `com.intellij.projectViewPane` | [ImagesProjectViewPane][file:ImagesProjectViewPane] | `AbstractProjectViewPSIPane` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -9,7 +9,7 @@ The new step contains a simple `JLabel` element as an example presentation of th
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ---------------------------- | ------------------------------------------------- | --------------------- |
|
|------------------------------|---------------------------------------------------|-----------------------|
|
||||||
| `com.intellij.moduleBuilder` | [DemoModuleWizardStep][file:DemoModuleWizardStep] | `ModuleBuilder` |
|
| `com.intellij.moduleBuilder` | [DemoModuleWizardStep][file:DemoModuleWizardStep] | `ModuleBuilder` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -12,7 +12,7 @@ PSI Demo project demonstrates working with the PSI Navigation by implementing `A
|
|||||||
### Actions
|
### Actions
|
||||||
|
|
||||||
| ID | Implementation | Base Action Class |
|
| ID | Implementation | Base Action Class |
|
||||||
| ------------------- | ------------------------------------------------------- | ----------------- |
|
|---------------------|---------------------------------------------------------|-------------------|
|
||||||
| `PsiNavigationDemo` | [PsiNavigationDemoAction][file:PsiNavigationDemoAction] | `AnAction` |
|
| `PsiNavigationDemo` | [PsiNavigationDemoAction][file:PsiNavigationDemoAction] | `AnAction` |
|
||||||
|
|
||||||
*Reference: [Action System in IntelliJ SDK Docs][docs:actions]*
|
*Reference: [Action System in IntelliJ SDK Docs][docs:actions]*
|
||||||
|
@ -9,7 +9,7 @@ In this example, a new *Demo* configuration is added together with `Configuratio
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| -------------------------------- | --------------------------------------------------------- | --------------------- |
|
|----------------------------------|-----------------------------------------------------------|-----------------------|
|
||||||
| `com.intellij.configurationType` | [DemoRunConfigurationType][file:DemoRunConfigurationType] | `ConfigurationType` |
|
| `com.intellij.configurationType` | [DemoRunConfigurationType][file:DemoRunConfigurationType] | `ConfigurationType` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -11,7 +11,7 @@ This project illustrates a custom Application-level Settings through the impleme
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| -------------------------------------- | ------------------------------------------------------- | -------------------------- |
|
|----------------------------------------|---------------------------------------------------------|----------------------------|
|
||||||
| `com.intellij.applicationConfigurable` | [AppSettingsConfigurable][file:AppSettingsConfigurable] | `Configurable` |
|
| `com.intellij.applicationConfigurable` | [AppSettingsConfigurable][file:AppSettingsConfigurable] | `Configurable` |
|
||||||
| `com.intellij.applicationService` | [AppSettingsState][file:AppSettingsState] | `PersistentStateComponent` |
|
| `com.intellij.applicationService` | [AppSettingsState][file:AppSettingsState] | `PersistentStateComponent` |
|
||||||
|
|
||||||
|
@ -7,25 +7,25 @@ Defines a new language, _Simple language_ with support for syntax highlighting,
|
|||||||
|
|
||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| --------------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------ |
|
|-----------------------------------------------|-----------------------------------------------------------------------------------------|-------------------------------------|
|
||||||
| `com.intellij.fileType` | [SimpleFileType][file:SimpleFileType] | `LanguageFileType` |
|
| `com.intellij.fileType` | [SimpleFileType][file:SimpleFileType] | `LanguageFileType` |
|
||||||
| `com.intellij.lang.parserDefinition` | [SimpleParserDefinition][file:SimpleParserDefinition] | `ParserDefinition` |
|
| `com.intellij.lang.parserDefinition` | [SimpleParserDefinition][file:SimpleParserDefinition] | `ParserDefinition` |
|
||||||
| `com.intellij.lang.syntaxHighlighterFactory` | [SimpleSyntaxHighlighterFactory][file:SimpleSyntaxHighlighterFactory] | `SyntaxHighlighterFactory` |
|
| `com.intellij.lang.syntaxHighlighterFactory` | [SimpleSyntaxHighlighterFactory][file:SimpleSyntaxHighlighterFactory] | `SyntaxHighlighterFactory` |
|
||||||
| `com.intellij.colorSettingsPage` | [SimpleColorSettingsPage][file:SimpleColorSettingsPage] | `ColorSettingsPage` |
|
| `com.intellij.colorSettingsPage` | [SimpleColorSettingsPage][file:SimpleColorSettingsPage] | `ColorSettingsPage` |
|
||||||
| `com.intellij.annotator` | [SimpleAnnotator][file:SimpleAnnotator] | `Annotator` |
|
| `com.intellij.annotator` | [SimpleAnnotator][file:SimpleAnnotator] | `Annotator` |
|
||||||
| `com.intellij.codeInsight.lineMarkerProvider` | [SimpleLineMarkerProvider][file:SimpleLineMarkerProvider] | `RelatedItemLineMarkerProvider` |
|
| `com.intellij.codeInsight.lineMarkerProvider` | [SimpleLineMarkerProvider][file:SimpleLineMarkerProvider] | `RelatedItemLineMarkerProvider` |
|
||||||
| `com.intellij.completion.contributor` | [SimpleCompletionContributor][file:SimpleCompletionContributor] | `CompletionContributor` |
|
| `com.intellij.completion.contributor` | [SimpleCompletionContributor][file:SimpleCompletionContributor] | `CompletionContributor` |
|
||||||
| `com.intellij.psi.referenceContributor` | [SimpleReferenceContributor][file:SimpleReferenceContributor] | `PsiReferenceContributor` |
|
| `com.intellij.psi.referenceContributor` | [SimpleReferenceContributor][file:SimpleReferenceContributor] | `PsiReferenceContributor` |
|
||||||
| `com.intellij.lang.refactoringSupport` | [SimpleRefactoringSupportProvider][file:SimpleRefactoringSupportProvider] | `RefactoringSupportProvider` |
|
| `com.intellij.lang.refactoringSupport` | [SimpleRefactoringSupportProvider][file:SimpleRefactoringSupportProvider] | `RefactoringSupportProvider` |
|
||||||
| `com.intellij.lang.findUsagesProvider` | [SimpleFindUsagesProvider][file:SimpleFindUsagesProvider] | `FindUsagesProvider` |
|
| `com.intellij.lang.findUsagesProvider` | [SimpleFindUsagesProvider][file:SimpleFindUsagesProvider] | `FindUsagesProvider` |
|
||||||
| `com.intellij.lang.foldingBuilder` | [SimpleFoldingBuilder][file:SimpleFoldingBuilder] | `FoldingBuilderEx` |
|
| `com.intellij.lang.foldingBuilder` | [SimpleFoldingBuilder][file:SimpleFoldingBuilder] | `FoldingBuilderEx` |
|
||||||
| `com.intellij.gotoSymbolContributor` | [SimpleChooseByNameContributor][file:SimpleChooseByNameContributor] | `ChooseByNameContributor` |
|
| `com.intellij.gotoSymbolContributor` | [SimpleChooseByNameContributor][file:SimpleChooseByNameContributor] | `ChooseByNameContributor` |
|
||||||
| `com.intellij.lang.psiStructureViewFactory` | [SimpleStructureViewFactory][file:SimpleStructureViewFactory] | `PsiStructureViewFactory` |
|
| `com.intellij.lang.psiStructureViewFactory` | [SimpleStructureViewFactory][file:SimpleStructureViewFactory] | `PsiStructureViewFactory` |
|
||||||
| `com.intellij.lang.formatter` | [SimpleFormattingModelBuilder][file:SimpleFormattingModelBuilder] | `FormattingModelBuilder` |
|
| `com.intellij.lang.formatter` | [SimpleFormattingModelBuilder][file:SimpleFormattingModelBuilder] | `FormattingModelBuilder` |
|
||||||
| `com.intellij.codeStyleSettingsProvider` | [SimpleCodeStyleSettingsProvider][file:SimpleCodeStyleSettingsProvider] | `CodeStyleSettingsProvider` |
|
| `com.intellij.codeStyleSettingsProvider` | [SimpleCodeStyleSettingsProvider][file:SimpleCodeStyleSettingsProvider] | `CodeStyleSettingsProvider` |
|
||||||
| `com.intellij.langCodeStyleSettingsProvider` | [SimpleLanguageCodeStyleSettingsProvider][file:SimpleLanguageCodeStyleSettingsProvider] | `LanguageCodeStyleSettingsProvider` |
|
| `com.intellij.langCodeStyleSettingsProvider` | [SimpleLanguageCodeStyleSettingsProvider][file:SimpleLanguageCodeStyleSettingsProvider] | `LanguageCodeStyleSettingsProvider` |
|
||||||
| `com.intellij.lang.commenter` | [SimpleCommenter][file:SimpleCommenter] | `Commenter` |
|
| `com.intellij.lang.commenter` | [SimpleCommenter][file:SimpleCommenter] | `Commenter` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ It describes definitions of the actions, extensions, or listeners provided by th
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ---------------------------- | ------------------------------------------------------- | --------------------- |
|
|------------------------------|---------------------------------------------------------|-----------------------|
|
||||||
| `com.intellij.themeProvider` | [theme_basics.theme.json][file:theme_basics.theme.json] | |
|
| `com.intellij.themeProvider` | [theme_basics.theme.json][file:theme_basics.theme.json] | |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -12,7 +12,7 @@ Component is provided by the `MyToolWindow` class through the `getContent()` met
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ------------------------- | ----------------------------------------------- | --------------------- |
|
|---------------------------|-------------------------------------------------|-----------------------|
|
||||||
| `com.intellij.toolWindow` | [MyToolWindowFactory][file:MyToolWindowFactory] | `ToolWindowFactory` |
|
| `com.intellij.toolWindow` | [MyToolWindowFactory][file:MyToolWindowFactory] | `ToolWindowFactory` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
@ -12,7 +12,7 @@ Otherwise, an element is not included in the results list, so only directories a
|
|||||||
### Extension Points
|
### Extension Points
|
||||||
|
|
||||||
| Name | Implementation | Extension Point Class |
|
| Name | Implementation | Extension Point Class |
|
||||||
| ------------------------------------ | ------------------------------------------------------------------- | ----------------------- |
|
|--------------------------------------|---------------------------------------------------------------------|-------------------------|
|
||||||
| `com.intellij.treeStructureProvider` | [TextOnlyTreeStructureProvider][file:TextOnlyTreeStructureProvider] | `TreeStructureProvider` |
|
| `com.intellij.treeStructureProvider` | [TextOnlyTreeStructureProvider][file:TextOnlyTreeStructureProvider] | `TreeStructureProvider` |
|
||||||
|
|
||||||
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
*Reference: [Plugin Extension Points in IntelliJ SDK Docs][docs:ep]*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user