You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -112,9 +107,7 @@ class LuaPsiDebugVariablePositionProvider : LuaDebugVariablePositionProvider {
112
107
113
108
// Find all ParamNameDef (function parameter definitions) within the scope element
114
109
val paramNameDefs =PsiTreeUtil.findChildrenOfType(scopeElement, LuaParamNameDef::class.java)
115
-
116
-
println("LuaPsiDebugVariablePositionProvider: Found ${nameExprs.size} NameExpr, ${nameDefs.size} NameDef, ${paramNameDefs.size} ParamNameDef in scope")
117
-
110
+
118
111
// Collect all elements with their positions into a single list
119
112
data classElementWithPosition(valname:String, valoffset:Int, valtextRange:TextRange, valtype:String)
120
113
val allElements = mutableListOf<ElementWithPosition>()
@@ -166,18 +159,12 @@ class LuaPsiDebugVariablePositionProvider : LuaDebugVariablePositionProvider {
166
159
167
160
// Sort all elements by their start offset to ensure correct order
168
161
allElements.sortBy { it.offset }
169
-
170
-
println("LuaPsiDebugVariablePositionProvider: Collected ${allElements.size} total elements, sorted by position")
171
-
172
162
// Add them to context in sorted order
173
163
var addedCount =0
174
164
for (element in allElements) {
175
-
println("LuaPsiDebugVariablePositionProvider: Adding ${element.type} variable '${element.name}' at ${element.offset}")
0 commit comments