如何转换!= to≠和 - >到→在Android Studio中?

时间:2018-03-10 07:54:04

标签: android-studio kotlin

在某些视频教程中,我看到Me.Form_CustomToolTip.AlignHorizontal = System.Windows.Forms.TextFormatFlags.Left, Default, Top, HorizontalCenter Me.Form_CustomToolTip.AlignVertical = System.Windows.Forms.TextFormatFlags.Left, Default, Top, VerticalCenter 会自动将Android Studio!=转换为等效的unicode字符。如何配置->来执行此操作?

1 个答案:

答案 0 :(得分:6)

这只是Android Studio的字体,实际上您可以在任何文本编辑器/ IDE中使用它,并获得相同的结果,您可以找到Fira code字体的链接。

Android Studio说明:

版本2016.2及更高版本

2016.2增加了对连字的正确支持(包括字体兼容性和更好的性能)。 - 在SettingsEditorColors & FontsFontEnable Font Ligatures中启用 - 在Fira CodeSettingsEditorColors & FontsFont

下选择Editor Font为“主要字体”

请注意,自2016.3以来,IntelliJ产品附带与编辑器本身捆绑的Fira Code。如果您需要最新版本的Fira Code,请单独安装。重新启动你的编辑器。