[TxMt] Re: Change visual tab size of soft tabs?

Kyle Kirbatski kyle.kirby at me.com
Wed Oct 2 23:18:19 UTC 2019


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 at 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 at gmail.com <mailto:graham.p.heath at 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 at mac.com <mailto:komor at mac.com>> wrote:
>>> 
>>>> Wiadomość napisana przez Kyle Kirbatski <kyle.kirby at me.com <mailto:kyle.kirby at 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 at mac.com <mailto:komor at mac.com>
>>> 
>>> 
>>> -- 
>>> 
>>> Rafał Komorowski
>>> komor at mac.com <mailto:komor at mac.com>
>>> tel. 502 443 143
>>> 
>>> 
>>> _______________________________________________
>>> TextMate mailing list
>>> TextMate at lists.macromates.com <mailto:TextMate at lists.macromates.com>
>>> https://lists.macromates.com/listinfo/textmate <https://lists.macromates.com/listinfo/textmate>
>> _______________________________________________
>> TextMate mailing list
>> TextMate at lists.macromates.com <mailto:TextMate at lists.macromates.com>
>> https://lists.macromates.com/listinfo/textmate <https://lists.macromates.com/listinfo/textmate>
>> 
>> _______________________________________________
>> TextMate mailing list
>> TextMate at lists.macromates.com <mailto:TextMate at lists.macromates.com>
>> https://lists.macromates.com/listinfo/textmate
> 
> 
> _______________________________________________
> TextMate mailing list
> TextMate at lists.macromates.com
> https://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20191002/c98143cf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: after.png
Type: image/png
Size: 252263 bytes
Desc: not available
URL: <https://lists.macromates.com/textmate/attachments/20191002/c98143cf/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: before.png
Type: image/png
Size: 245722 bytes
Desc: not available
URL: <https://lists.macromates.com/textmate/attachments/20191002/c98143cf/attachment-0003.png>


More information about the TextMate mailing list