Is there a way to reformat a file you've already typed (but didn't save yet) so that once it is saved with the proper extension, it will have the proper tab settings for that extension?
Example: My default settings are 4 spaces, but for HTML I do 2. If I write an HTML file and *then* save it as file.html, can I somehow reformat the indents to change to 2 spaces instead of the 4?
Thanks.
Example: My default settings are 4 spaces, but for HTML I do 2. If I write an HTML file and *then* save it as file.html, can I somehow reformat the indents to change to 2 spaces instead of the 4?
Thanks.