ESharper is an Excel add-in that lets you write user defined functions and commands using C# interactively in a live Excel session.
v1.6 adds the ability to edit function and command code with IntelliSense and syntax highlighting in Visual Studio 2017: