I have enabled the latest C# extension in my Visual Studio Code editor. Instead of formatting the code while saving or by applying the key combination Ctrl + K, Ctrl + F or Alt + Shift + F, I need to format the current line of code while hitting the Enter key. This feature is already available in Visual Studio, but not found in Visual Studio Code by default.
This is the sample code output I need to achieve:




DBContext(usually at least a medium sized project) is VSCode, as opposed to VS Community, the right tool for you?[Ctrl+K Ctrl+F]orAlt+Shift+Fwork at all?