> On 9 Aug 2018, at 10:06, Marcus Denker <marcus.den...@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