Time saving suggestion

Hi,

I like the way Idea can help me with:

public void generate(ModuleI module, Element element) {
EntModuleI entModule =
}


by completion to:

public void generate(ModuleI module, Element element) {
EntModuleI entModule = module;
~~~~~~
}


& by intention to:

public void generate(ModuleI module, Element element) {
EntModuleI entModule = (EntModuleI) module;
}


However I think it would be even better if the completion pop up could
offer both:

module:ModuleI


&

(cast to)module:EntModuleI


i.e. detect that I will need to cast to the expression type and offer
the cast as part of the completion.

Any thoughts?

Matt

Please sign in to leave a comment.