pharo-spec / Spec

Spec is a framework in Pharo for describing user interfaces.
MIT License
61 stars 63 forks source link

Why do `SpCodeInteractionModel>>#bindings` return an empty dictionary ? #1505

Open adri09070 opened 6 months ago

adri09070 commented 6 months ago

Right now, except SpScriptingInteractionModel (i.e: playground), no interaction model can add bindings for variables.

This is very rigid and I don't think this is good as some external tools may want to add variables in an inspector (SpCodeObjectInteractionModel) or maybe elsewhere.

This is literaly the principle of Chest for example, to be able to access your objects from anywhere in the image: https://github.com/pharo-spec/Chest