BetterThanTomorrow / calva

Clojure & ClojureScript Interactive Programming for VS Code

Home Page:https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make the inspector item context commands work on the selected item when not invoked via the buttons

PEZ opened this issue · comments

Currently the only way to invoke the commands for inspector items is to click the hover buttons. So the user can't e.g. bind keyboard shortcuts to inspect an item or clear, or copy it's text.

We can make the commands behave such that if they are not invoked from the context buttons they will be invoked on the selected item, if any, otherwise the latest added (topmost) item.