How can I change the default create view code generated by resharper via the "View action list -> create view"

191 views Asked by At

I am using Resharper 5, I like to create views by clicking on the red lightbulb then choose Create View from the action list (for example screenshot see https://i.stack.imgur.com/3CyEM.png).

Does anyone know if there is a "Create View" template that i can edit to change the default generated code? I'd like to put in things such as custom namespaces etc but cant figure out how to do it.

I have looked into live templates but it seems to be totally different to what i want to do?

1

There are 1 answers

3
Mrchief On

Go to ReSharper | Live Templates | <template type>. Then from template explorer, you can edit existing templates.

Documentation here.

enter image description here