[英]How to enable Recursive (OpenType) font code ligature in Visual Studio Code?
进一步来说
如何启用递归字体的代码自由连字“dlig”功能?
通常的 fontLigatures settings.json
。json 配置不起作用。
"editor.fontFamily": "Recursive Sans Linear"
"editor.fontLigatures": true // Do not work :-/
要启用代码连字,请使用所需的 OpenType 功能编辑 VSCode settings.json
:
// Code ligatures ON
"editor.fontLigatures": "'dlig'"
// BONUS: other feature set (see below)
"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'"
资料来源:
另请参阅: Microsoft OpenType 规范
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.