54 karma · joined Aug 4, 2021 (5y ago) · 44 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
> Whitespace before and after assignment and binary operator of the lowest priority in the expression:
The AMS style guide[2, p. 117] suggests
> Align multiline equations on operators: verbs are aligned with each other and conjunctions are aligned with each other
I find these improves readability of my TeX files.
[1]: https://doc.sagemath.org/html/en/developer/coding_basics.htm... [2]: https://www.ams.org/publications/authors/AMS-StyleGuide-onli...
comment 4y ago · link · parent
Ideally no string is a prefix of another string. Even more ideally any infinite sequence of As and Bs can be decoded into a sequence of actions.
comment 4y ago · link · parent
comment 4y ago · link · parent
This obviously doesn't work if there are non-ascii characters that (have to) use a different font and hence having different widths. Or if you prefer variable-width font, then a purely ascii document will break tab.
The developers reply on github that this (characters having different widths) is a frontend thing and they don't have enough API that can fix this. But of course since vscode is an open source project you can always fork it and fix it yourself.
I don't know any other editor that cannot handle tab.
comment 4y ago · link · parent
comment 4y ago · link · parent