mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[pycharm] PY-64403 add vision file to PyCharm
GitOrigin-RevId: 7b3fd4492e0cebb313626c7a1b52e369e0577279
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8595cefae1
commit
b7700aaf66
@@ -2,6 +2,7 @@
|
||||
<!--Customization code for both Community and Pro PyCharms-->
|
||||
<dependencies>
|
||||
<plugin id="PythonCore"/>
|
||||
<module name="intellij.platform.whatsNew" />
|
||||
</dependencies>
|
||||
|
||||
<projectListeners>
|
||||
@@ -62,6 +63,10 @@
|
||||
<applicationService serviceInterface="com.jetbrains.python.run.PyCommonFragmentsBuilder"
|
||||
serviceImplementation="com.intellij.pycharm.community.ide.impl.PyIdeCommonFragmentsBuilder"/>
|
||||
|
||||
<applicationService serviceInterface="com.intellij.platform.whatsNew.WhatsNewInVisionContentProvider"
|
||||
serviceImplementation="com.intellij.pycharm.community.ide.impl.whatsnew.PyCharmWhatsNewInVisionContentProvider"
|
||||
overrides="true"/>
|
||||
|
||||
|
||||
<directoryIndexExcludePolicy implementation="com.intellij.pycharm.community.ide.impl.PyDirectoryIndexExcludePolicy"/>
|
||||
|
||||
|
||||
1
python/ide/impl/resources/whatsNew/pycharm2024.2.json
Normal file
1
python/ide/impl/resources/whatsNew/pycharm2024.2.json
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,13 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.pycharm.community.ide.impl.whatsnew
|
||||
|
||||
import com.intellij.platform.whatsNew.ContentSource
|
||||
import com.intellij.platform.whatsNew.ResourceContentSource
|
||||
import com.intellij.platform.whatsNew.WhatsNewInVisionContentProvider
|
||||
|
||||
class PyCharmWhatsNewInVisionContentProvider : WhatsNewInVisionContentProvider() {
|
||||
override fun getResource(): ContentSource {
|
||||
// return a vision file for the current version
|
||||
return ResourceContentSource(PyCharmWhatsNewInVisionContentProvider::class.java.classLoader, "whatsNew/pycharm2024.2.json")
|
||||
}
|
||||
}
|
||||
@@ -16,6 +16,7 @@
|
||||
<module name="intellij.pycharm.community.ide.implTraining"/>
|
||||
<module name="intellij.jupyter.core"/> <!-- Lang for notebooks preview -->
|
||||
<module name="intellij.jupyter.viewOnly"/> <!-- notebooks preview itself-->
|
||||
<module name="intellij.platform.whatsNew"/>
|
||||
|
||||
<module name="intellij.pycharm.community.ide.impl.promotion"/> <!-- mostly promo of Pro -->
|
||||
</content>
|
||||
|
||||
Reference in New Issue
Block a user