Auto-refactor doesn't work in the Cider "Source" window

You know how you can type a new name over the old name of an identifier in Visual Studio 2005 and it will show a SmartTag that lets you auto-rename all references to the identifier

This doesn't work in the "Source" tab of Cider. I don't get the Smart Tag to let me rename.

Just letting you know, to put it on your "To Do" list.




Answer this question

Auto-refactor doesn't work in the Cider "Source" window

  • Efergus

    Thanks Brian. You're right on both counts. There's no rename/refactoring support yet, and yup, it's already on our to-do list :-)

    Question for everyone: How important is it that the "rename" style of refactoring work in this way The alternative is that a text-based search & replace could be applied to sources and XAML alike. Let's ask it like "Celebrity Battles" would. Which feature is hotter

    1. Refactoring support across your code and the WPF window/controls
    2. Intellisense and Snippets when you're editing XAML directly and not using Cider

    chad



  • ... no and then!!

    Wow, that's a hard choice, Chad.

    1. Intellisense when editing XAML directly is an absolute must-have for people like me who expect to continue editing XAML even when Cider is ready for prime time. I've been waiting patiently for the day when you fix Intellisense so it works even in a XAML file that has a <namespace:element> anywhere inside it. (I haven't installed the January CTP--if that is already fixed, hooray! If not, please fix soon.) After that's fixed, going any further with Intellisense is frosting. E.g., typing Click="ClickHandler" could do the magic "hit TAB to create ClickHandler" trick, but that's a Wow feature that's not necessary in this release.
    2. Refactoring support across code and XAML is crucial.
    3. Snippets when editing XAML directly--would be nice, but please drop this one in favor of #1 and 2 if you have to.

    As for the "rename while typing" style of refactoring--it's wonderful, but if you can only get the explicit form of rename refactoring would be a lot better than nothing. I find myself addicted to rename refactoring now that you've put it in the product. It's wonderful.



  • Auto-refactor doesn't work in the Cider "Source" window