Glad to hear it!
Ligatures are an interesting solve. I assume this appears when you have two spaces that aren't leading spaces, too, but maybe that'd help you catch issues too...
Thanks, Graham
On 2 Oct 2019, at 18:18, Kyle Kirbatski wrote:
Hey Graham,
Just wanted to follow up. I was able to edit the Microsoft’s cascadia-code font to add a double space ligature and it looks perfect. Thanks for giving me the idea.
See the attached screenshots ;)
On Oct 2, 2019, at 5:35 PM, Kyle Kirbatski kyle.kirby@me.com wrote:
Hi,
Those are some good solutions, but unfortunately I mainly have issue with how small two spaces look compared to four. Seeing whitespace characters and the indent guide will certainly help. But using a different font does give me an interesting idea to find a font with two-space ligatures that appear as four spaces.
Thanks!
On Oct 2, 2019, at 4:09 PM, Graham Heath <graham.p.heath@gmail.com mailto:graham.p.heath@gmail.com> wrote:
Hi Kyle,
You've probably thought of these ideas before, but maybe you haven't ¯_(ツ)_/¯.
Have you tried enabling "View" -> "Show invisible characters"?
What about using a different font? I like Source Code Pro[1] https://github.com/adobe-fonts/source-code-pro but there are a lot of choices[2] http://hivelogic.com/articles/top-10-programming-fonts/.
How about "Show indent guides"?
There's also this ancient post that enables a "indent guide"[3] https://stackoverflow.com/a/17492004/1167956 in a completely different way. Speaking of this, @team friendly bump to make the "Show indent guides" smarter...
1: https://github.com/adobe-fonts/source-code-pro https://github.com/adobe-fonts/source-code-pro 2: http://hivelogic.com/articles/top-10-programming-fonts/ http://hivelogic.com/articles/top-10-programming-fonts/ 3: https://stackoverflow.com/a/17492004/1167956 https://stackoverflow.com/a/17492004/1167956 Hope that helps, Graham
On 2 Oct 2019, at 15:44, Kyle Kirbatski wrote:
Our coding stands call for two space indentation. I find it hard to read the code with 2 space tab size. I find it easier to read with 4 spaces. Though I see what you mean. It’s fine for leading indentation but code alignment would get messed up. Ugh. Guess I’ll have to contend with 2 space tab size.
Thanks
On Oct 2, 2019, at 3:54 AM, Rafał Komorowski <komor@mac.com mailto:komor@mac.com> wrote:
Wiadomość napisana przez Kyle Kirbatski <kyle.kirby@me.com mailto:kyle.kirby@me.com> w dniu 01/10/2019, o godz. 23:02:
Is it possible to have the tab size be 2 spaces, but change it to look like 4 spaces?
What could be the possible outcome of this? It would confuse user and possibly ruin careful indentation of comments or docs.
--
Rafał Komorowski komor@mac.com mailto:komor@mac.com
--
Rafał Komorowski komor@mac.com mailto:komor@mac.com tel. 502 443 143
TextMate mailing list TextMate@lists.macromates.com mailto:TextMate@lists.macromates.com https://lists.macromates.com/listinfo/textmate https://lists.macromates.com/listinfo/textmate
TextMate mailing list TextMate@lists.macromates.com mailto:TextMate@lists.macromates.com https://lists.macromates.com/listinfo/textmate https://lists.macromates.com/listinfo/textmate
TextMate mailing list TextMate@lists.macromates.com mailto:TextMate@lists.macromates.com https://lists.macromates.com/listinfo/textmate
TextMate mailing list TextMate@lists.macromates.com https://lists.macromates.com/listinfo/textmate
TextMate mailing list TextMate@lists.macromates.com https://lists.macromates.com/listinfo/textmate