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
I'm using this extension as a dependency in sane-indentation where I'm heavily relying on the now deprecated getNodeAtLocation function. Any idea on how to use createQuery to replace it?
That was literally the implementation before. I deprecated get node at location because I didn't think anyone was using it. If it is useful I can definitely re-add it.
Activity
Updated to account for recent breaking change in vscode-parse-tree
chfritz commentedon Mar 26, 2026
Looks like this works, actually:
Might make for a nice poly-fill to avoid or undo the recent breaking change? Example
AndreasArvidsson commentedon Mar 26, 2026
That was literally the implementation before. I deprecated get node at location because I didn't think anyone was using it. If it is useful I can definitely re-add it.
AndreasArvidsson commentedon Mar 26, 2026
getNodeAtLocationRe-added. Enjoy! :)#130