Closed deathaxe closed 7 years ago
Regarding quotation marks, I have the following guidelines:
open(mode='r')
or str.decode('utf-8')
). Basically, situations in where the exact content of the string matters.I find this guideline to be a good balance act between arbitrarily choosing either as the default and adding semantic meaning to a string based on the quotes used.
I try to follow these for my personal use cases, but I don't necessary go around changing other people's contributed code to adhere to them, which is also why I only changed the quotation marks for strings that I edited anyway in that commit.
I'm unsure why my ST doesn't (or didn't) properly detect the indentation of the files where I inserted spaces instead of tabs. I do have detect_indentation
set. Thanks for the catch, anyway.
Cherry-picked all but the quotation commit.
Here are some more suggestions for the settings module