diff --git a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/whatsnew/PyCharmWhatsNewInVisionContentProvider.kt b/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/whatsnew/PyCharmWhatsNewInVisionContentProvider.kt index 72e677ff5277..a0f71a2ac97e 100644 --- a/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/whatsnew/PyCharmWhatsNewInVisionContentProvider.kt +++ b/python/ide/impl/src/com/intellij/pycharm/community/ide/impl/whatsnew/PyCharmWhatsNewInVisionContentProvider.kt @@ -8,9 +8,17 @@ import com.intellij.util.PlatformUtils.isCommunityEdition class PyCharmWhatsNewInVisionContentProvider : WhatsNewInVisionContentProvider() { + override fun getResourceNameByPath(path: String): String { + return "whatsNew/$path" + } + + override fun getResource(resourceName: String): ContentSource { + return ResourceContentSource(PyCharmWhatsNewInVisionContentProvider::class.java.classLoader, resourceName) + } + override fun getResource(): ContentSource { // return a vision file for the current version - val resourceName = if (isCommunityEdition()) "whatsNew/pycharmCE2024.2.json" else "whatsNew/pycharm2024.2.json" + val resourceName = if (isCommunityEdition()) "whatsNew/pycharmCE2025.2.json" else "whatsNew/pycharm2025.2.json" val resourceContentSource = ResourceContentSource(PyCharmWhatsNewInVisionContentProvider::class.java.classLoader, resourceName) return resourceContentSource }