Description
Say I'm working on a function, and realize I'll need another method to finish it:
pub fn doingSomething(self: @This(), param: SomeParameter) void {
// stuff
const return = self.doSomethingNew(value);
}
In my color scheme, doSomethingNew
will be white instead of green, because it doesn't exist. Your highlights may vary.
What would be nice is, when I go to implement it, I get a completion:
fn d| // This offers doSomethingNew as a completion
In addition to the convenience, it means I know that the name of the method I'm implementing is the name which I already gave it. Sort of like the very nice feature in switch statements where the completions only contain unreferenced enums, so if you don't get a completion you know you've covered all cases, in this case if there are no completions then I'd know that I don't have any method stubs in the code which need to be written out.
There are some more advanced things which could be done, in terms of filling in the types based on what the prior code passes them, but just the completion would be a great feature.