ubuntu
下安装的sublime3
,在windows
下代码是齐的,copy
到ubuntu
下代码就对不齐了,就算重新写一份只使用tab
也还是对不齐。。。请教各位有啥解决办法
如图二:其实function距离左边是4个字符,$离左边是4个字符,dataType离左边也是,就是参考线对不起
PHP中文网2017-04-22 08:57:45
If you mean that the tab does not seem to be 4 characters wide, then it must be the font. Choose a fixed-width font.
PHP中文网2017-04-22 08:57:45
I don’t understand what misalignment means = =Is it because of equal-width characters?
Or is it because of 4
个空格变成3
个or2
?
PHPz2017-04-22 08:57:45
This must not be a monospaced font. . Change the configuration file, just replace it with Monospace.
Also, there are some articles on the Internet that recommend excellent monospaced fonts. If you are interested, you can also take a look~