Open Mylan719 opened 8 years ago
This would be very very helpful for at least refactoring scenarios of large code scope / volume that involve markup files and their C# code-behind counterparts. Also would significantly ease tight development where you test & refactor as you go.
Relevant in situations of highly coupled code files with markup files (by bindings).
Hi, I am working on Visual Studio 2015 extension. Is there any API that would let me use the renaming/refactoring dialog like in Code Editor, but inside my custom markup files? I know there is
Renamer
class for renaming symbols in roslyn workspace. But I would like to make use of renaming In my custom markup files. So I quess I need to rename symbols in my markup by myself, then useRenamer
helper class on roslyn workspace. But it would be nice if renaming behaved the same in markup as it does in Code editor.Example of markup i wish to use renaming tools in:
Code file:
The behaviour I want to reproduce in my markup file is:
I have read quite a bit of roslyn source but everything thought could use is internal.