On 9 Aug 2018, at 10:06, Marcus Denker <marcus.denker@inria.fr> wrote:
2) when coding - if you want reference a missing class, why donât we let you? TonelReader seems to do it, why canât the editor? (This probably applies to variables as well - show them broken, let me fix it when I choose. The iVar case is a little rarer - although I hate the way we prompt fix, prompt fix instead of doing it in one go - itâs very old fashioned)
An alternative could be to not show the menu at all. Instead just compile (I like the ideas that âeverything can be compiled and runâ).
Just compile the Undeclared and instead of breaking the flow, we should add a menu to the editor to do the âdefine Classâ âDefine Traitâ⦠(with the gutter icons, we can provide a menu easily).
I will make a small demo for that, too.
ah, and this fits well with the idea to show at runtime a dialog for fixing a Undeclared: The âfix toolâ would be the editor itself. It shows the menu in the gutter for the user to define a class, or the possibility to just edit and compile the method. Marcus