Using autoformatting hotkeys (Ctrl + A, Ctrl + K, Ctrl + F) automatically removes all trailing spaces in the file.
You can verify this by adding trailing spaces to the string and then use (Ctrl + A, Ctrl + K, Ctrl + F).
One of the lines at the bottom of the file is best, because when you use (Ctrl + A, Ctrl + K, Ctrl + F), Visual Studio will automatically jump to the end of the file. This way you can clearly see that the spaces have been removed.
William Hou Apr 19 '19 at 2:19 am 2019-04-19 02:19
source share