# How to create a CompletionProvider with schema file suggestion?

**URL:** <https://platform.jetbrains.com/t/how-to-create-a-completionprovider-with-schema-file-suggestion/1900>\
**Category:** IntelliJ Platform\
**Tags:** completion-provider\
**Created:** [June 3, 2025, 4:45am UTC](https://platform.jetbrains.com/t/how-to-create-a-completionprovider-with-schema-file-suggestion/1900 "2025-06-03T04:45:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eltonsandre](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/eltonsandre/32/210_2.png) [@eltonsandre](https://platform.jetbrains.com/u/eltonsandre)\
**Post date:** [June 3, 2025, 4:45am UTC](https://platform.jetbrains.com/t/how-to-create-a-completionprovider-with-schema-file-suggestion/1900/1 "2025-06-03T04:45:18Z")

</div>

Is there any way to create a `CompletionProvider` that takes a `JSON/YAML` schema file as a base, provides the details and sends the result to the completion suggestion?

If possible, any example plugin that does the same?

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [June 3, 2025, 3:06pm UTC](https://platform.jetbrains.com/t/how-to-create-a-completionprovider-with-schema-file-suggestion/1900/2 "2025-06-03T15:06:01Z")

</div>

You can provide a schema for the file at least via `com.jetbrains.jsonSchema.extension.JsonSchemaProviderFactory`

---

<div class="post-metadata">

**Author:** ![eltonsandre](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/eltonsandre/32/210_2.png) [@eltonsandre](https://platform.jetbrains.com/u/eltonsandre)\
**Post date:** [June 3, 2025, 6:20pm UTC](https://platform.jetbrains.com/t/how-to-create-a-completionprovider-with-schema-file-suggestion/1900/3 "2025-06-03T18:20:36Z")

</div>

Do you have any documentation or an example plugin?  
I searched for the topic but couldn’t find it.

---

<div class="post-metadata">

**Author:** ![insyncwithfoo](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/insyncwithfoo/32/158_2.png) [@insyncwithfoo](https://platform.jetbrains.com/u/insyncwithfoo)\
**Post date:** [June 4, 2025, 2:29am UTC](https://platform.jetbrains.com/t/how-to-create-a-completionprovider-with-schema-file-suggestion/1900/4 "2025-06-04T02:29:36Z")

</div>

The extension point is called [`JavaScript.JsonSchema.ProviderFactory`](https://plugins.jetbrains.com/intellij-platform-explorer/extensions?extensions=JavaScript.JsonSchema.ProviderFactory).
