JSON FileType not resolving new 2024.3 plugin
已回答
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.

请先登录再写评论。
Same here. And also it gives below compile error even though I add
com.intellij.modules.jsonin plugin.xml.error: package com.intellij.json does not existimport 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.xmlbuild.gradle.ktsgradle.propertiessettings.gradleThanks
Since the 2024.3 release cycle,
com.intellij.modules.jsonis 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.
But the mentioned plugin doesn't contain the JsonFileType class or the JsonLexer mentioned above. Or am I missing something?
Hmm. Looks like you also have to update the following:
(I updated it from 2.2.0 to 2.6.0)
plugins {
// plugin docs can be found here https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html
id("org.jetbrains.intellij.platform") version "2.6.0" // it was 2.2.0