I traditionally work in VB.NET, but have been asked to code the latest project in C#.
This is fine as I can work in either language, having had to frequently translate C# code to VB in the past and I’ve no qualms about developing in either.
My issue is with the Visual Studio editor and how many of the tasks that have traditionally been automated for me while writing VB.NET code are missing when writing C# code, or involve a larger variety of key-presses.
For example, creating a new #region or function…
In VB.NET creating a region involves typing #+r, at which point intellisense kicks in and shows me #Region. I press space and #Region is auto-completed, thus allowing me to type the region name, then click Enter and the closing #End Region is automagically added.
In C#, I type #+r… and nada.. I have to either click Ctrl + k + x and select #Region from the list of snippets to achieve the same effect.
Similarly when writing functions in VB.NET … the autocomplete creates the structure in seconds, whereas C# involves having to manually add the brackets etc, adding precious seconds to the development process. (or perhaps there is another shortcut key combo)
These are just two examples, but there are many others where the short-cuts that the VB.NET editor provides make coding much faster than the C# editor.
I’m pretty shocked actually as C# is so often lauded for being “better” than VB.NET.
Anyway rant over.
My question is, are there any plugins which allow autocomplete on the C# editor in the same way as provided to the VB.NET editor?
Resharper……………………………………………………………….