Trim trailing and savemac Command + K, Command + X win Ctrl + K, Ctrl + X Microsoft Visual Studio Ctrl + K, Ctrl + X