Closed ClotildeToullec closed 7 months ago
on a "playground" (MiInspector) we inspect the result of the expression
If a MiTool is active : it should be like pressing the "inspect" button of that tool
otherwise run it on the last propagated entities
What about from other pharo tools, like the code browser (or from any code field really) or the debugger?
hard to say. I don't see what we can do from the code browser or the debugger. It requires a Famix model. Could build one on the fly, but that would include what ?
It would be [ Meta + Shift + M + I ] as well as in moose browsers. Difference with what we have now: it would be usable from anywhere in the system, like [ Meta + I ] for the simple inspector.
This would introduce a conflict when we are using a Moose browser that can evaluate some code (mostly the MiInspector itself) : Do we inspect the result of the selected expression or the miSelectedItem ?