C # + Resharper - underlined event method - naming convention

I have VS 2010 with resharper (any version, now 5.1).

The default naming convention relating to R # is about a public or protected method name: "ThisIsMethodName", and I think this is normal. But sometimes, by default, the .NET method names are not what I expect, for example, Page_Load or (with a click on a button in the web form developers panel) Button1_Click. As you can see, we have an underline between words.

Why do we have this and how (if possible) can I remove all underlines from my solution?

+3
source share
3 answers

Visual Studio WinForm ( VS ). , WCF. resharper - , . , .

( - Resharper).

+1

, , dotnet , , , .

ReSharper, . VS2008 ReSharper → Options → Languages ​​- > Common → Naming Styles.

+2

You can change the callback of the form or any elements available in the user interface to match the naming convention from resharper.

Example:

callback change example

0
source

Source: https://habr.com/ru/post/1753720/


All Articles