mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
PY-87123
[pycharm] PY-87123 Synchronize build files [pycharm] PY-87123 Add icons for process weight [pycharm] PY-87123 Extract Pipenv icons/mapper into a pipenv module [pycharm] PY-87123 Extract Conda icons/mapper into a separate module [pycharm] PY-87459 Fix process tree autoscroll Fixes an issue in which the process tree would not automatically scroll up after new processes are added. [pycharm] PY-87112 Change the icon of the tool window to a new one [pycharm] PY-87123 Rename `Styling` object to `OutputSectionStyling` This is done to match the naming of `TreeSectionStyling`. [pycharm] PY-87123 Render spinner instead of an icon for running processes [pycharm] PY-87123 Refactor TreeSection * Extract tree content into its own composable * Extract styling values into a styling object * Remove redundant icons that can be constructed programmatically [pycharm] PY-87123 Address feedback [pycharm] PY-87123 Implement custom styling for critical errors Critical errors are ones that are displayed to the user via the error sink. [pycharm] PY-87123 Add tool-dependant icons to POTW process tree [pycharm] PY-87123 Implement ProcessOutputIconMapping extension point The extension point provides a way for tooling-related modules to define custom mapping between file extensions and icons that should be used by the Process Output Tool Window. Merge-request: IJ-MR-189367 Merged-by: David Lysenko <david.lysenko@jetbrains.com> GitOrigin-RevId: 0d728779f04f2066e929954681ec7a23741f5f74
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a45f149b8a
commit
7906446900
@@ -39,6 +39,7 @@ jvm_library(
|
||||
"//python/python-sdk-ui:sdk-ui",
|
||||
"//python/common",
|
||||
"//python/python-exec-service/execService.python",
|
||||
"//python/python-process-output:processOutput",
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.python.hatch` end
|
||||
@@ -48,5 +48,6 @@
|
||||
<orderEntry type="module" module-name="intellij.python.sdk.ui" />
|
||||
<orderEntry type="module" module-name="intellij.python.common" />
|
||||
<orderEntry type="module" module-name="intellij.python.community.execService.python" />
|
||||
<orderEntry type="module" module-name="intellij.python.processOutput" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -7,6 +7,7 @@
|
||||
<module name="intellij.python.pyproject"/>
|
||||
<module name="intellij.python.common"/>
|
||||
<module name="intellij.python.community.execService.python"/>
|
||||
<module name="intellij.python.processOutput"/>
|
||||
</dependencies>
|
||||
|
||||
<extensions defaultExtensionNs="Pythonid">
|
||||
@@ -19,5 +20,6 @@
|
||||
</extensions>
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<python.common.toolToIconMapper implementation="com.intellij.python.hatch.impl.HatchIdMapper"/>
|
||||
<python.processOutput.processOutputIconMapping implementation="com.intellij.python.hatch.impl.HatchIconMapping"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.intellij.python.hatch.impl
|
||||
|
||||
import com.intellij.python.hatch.icons.PythonHatchIcons
|
||||
import com.intellij.python.processOutput.ProcessBinaryFileName
|
||||
import com.intellij.python.processOutput.ProcessIcon
|
||||
import com.intellij.python.processOutput.ProcessOutputIconMapping
|
||||
|
||||
internal class HatchIconMapping : ProcessOutputIconMapping() {
|
||||
override val mapping: Map<ProcessBinaryFileName, ProcessIcon> =
|
||||
mapOf(
|
||||
ProcessBinaryFileName("hatch") to ProcessIcon(PythonHatchIcons.Logo, PythonHatchIcons::class.java)
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user