Quick fix ''Create Extension Method for..."

4 posts, 0 answers
  1. Francois
    Francois avatar
    2 posts
    Member since:
    Jan 2013

    Posted 08 Feb 2013 Link to this post

    Hello,

    First of all congrats on a great product. I feel a definite increase in coding speed and fluency since I started using JustCode and it seems that, over time, this effect is increasing geven further.

    One thing I'm missing so far is a Quick Fix for creating an extension method rather than an instance method on finding non existing method calls. Extension methods are great for keeping your business objects light and I use them a lot so I'd love a stub creation quick fix.

    Allthough less important to myself, another thing I'd love to see resharper style overload lists.

    Is there a place where I can see or maybe even vote on planned new features?

    Keep up the great work.

    Francois.
  2. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 08 Feb 2013 Link to this post

    Hi,

     Thanks for contacting us.
    We find the idea for the extension method really proper. The problem is to find the best place for the method. Maybe it should be generated in a class that ends with "Extensions". In case that there is no such, it will be placed below the current one.
    What do you think will be the best solution?

    You can vote or publish new feature request at our new feedback portal. As higher votes it gets as closer to implementation will be.
    Thank you.

    Regards,
    Zdravko
    the Telerik team
    Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
  3. DevCraft banner
  4. Francois
    Francois avatar
    2 posts
    Member since:
    Jan 2013

    Posted 08 Feb 2013 Link to this post

    Hi Zdravko,

    Thanks for taking the time to consider this. It's feels great to be heard.

    I can think of two scenarios. Either you could show a dialog similar to the "go to type" navigation option, displaying only static classes.
    Alternatively you could create the extension method in an ...Extensions class and offer a "move (extension) method(s)... " refactoring.

    Of course the standard F2 rename refactoring option will get you a long way by renaming the class, but after that, if you create another extension method, you'll probably be happy being able to move tiit to the desired class.

    I'm more inclined towards the second option. It seems cumbersome at first but with the appropriate shortcuts it's done real quickly.


    Best regards,

    francois
  5. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 13 Feb 2013 Link to this post

    Hello,

    Thanks for the reply.
    It is nearly end of the Q so we will think for implementation in some of the future Q releases.
    Meanwhile, I made a feature request item for you, where you can vote for the idea.
    Thank you and stay tuned.

    All the best,
    Zdravko
    the Telerik team
    Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
Back to Top