JSON FileType not resolving new 2024.3 plugin
Answered
As per the new changes https://plugins.jetbrains.com/docs/intellij/api-changes-list-2024.html#json-plugin-new-20243 listed here, I have included the
com.intellij.modules.json
in plugin.xml. But it is not resolving.
Please sign in to leave a comment.
Same here. And also it gives below compile error even though I add
com.intellij.modules.json
in plugin.xml.error: package com.intellij.json does not exist
import com.intellij.json.JsonLexer;
^
Hi,
Please share Gradle build script files.
Here is build.gradle.kts file.
Hi I have migrated to gradle 2x plugin in my olugin but somehow it is not resolving anything. So I have checked out Intellij Plugin Template and replaced all my files, and it was successful.
But I changed the
and then the JSON module is not resolving.
This is exactly the same with the template.
plugin.xml
build.gradle.kts
gradle.properties
settings.gradle
Thanks
Since the 2024.3 release cycle,
com.intellij.modules.json
is a standalone bundled plugin. To load it properly for the compilation time, you need to add it with:or, if using the IntelliJ Platform Plugin Template setup, in
gradle.properties
:Also, we will fix the docs to be more explicit about what is required depending on the target version.