11package com.intellij.plugin.powershell.ide.debugger
22
3+ import com.intellij.icons.AllIcons
34import com.intellij.openapi.diagnostic.logger
4- import com.intellij.ui.IconManager
5- import com.intellij.ui.PlatformIcons
65import com.intellij.util.io.await
76import com.intellij.xdebugger.XDebugSession
87import com.intellij.xdebugger.XExpression
@@ -13,7 +12,6 @@ import org.eclipse.lsp4j.debug.SetVariableArguments
1312import org.eclipse.lsp4j.debug.Variable
1413import org.eclipse.lsp4j.debug.VariablesArguments
1514import org.eclipse.lsp4j.debug.services.IDebugProtocolServer
16- import javax.swing.Icon
1715
1816class PowerShellDebuggerVariableValue (val variable : Variable , val parentReference : Int? ,
1917 val server : IDebugProtocolServer ,
@@ -34,8 +32,7 @@ class PowerShellDebuggerVariableValue(val variable: Variable, val parentReferenc
3432 }
3533
3634 override fun computePresentation (node : XValueNode , place : XValuePlace ) {
37- val icon: Icon = IconManager .getInstance().getPlatformIcon(PlatformIcons .Variable )
38- node.setPresentation(icon, variable.type, variable.value, variable.variablesReference != 0 )
35+ node.setPresentation(AllIcons .Nodes .Variable , variable.type, variable.value, variable.variablesReference != 0 )
3936 }
4037
4138 override fun computeChildren (node : XCompositeNode ) {
0 commit comments