I have 2 questions
Q1:
I have read about various coding indent styles like Allman, K&R etc.
What i want to know is where is the setting in VS(2010) where all these can be set?
Q2:
When I press Ctrl + K and Ctrl + D after each other. It corrects formatting like where there are 2 spaces b/w words it reduces them to one.
Similarly is there any shortcuts that removes extra emptylines between 2 lines of codes?
My situation is that I was given a code where extra enter were pressed between 2 lines of code. How can i remove it?
change the settings as per your need.