正在检查此设备…
function debounce(fn, ms = 250) {
let timer;
return (...args) => {
clearTimeout(timer);
timer = setTimeout(() => fn(...args), ms);
};
}
const isOdd = (n) => n % 2 !== 0;
在 VS Code 中使用 Server Mono
将以下内容粘贴到设置中,即可在编辑器使用 Server Mono。备用字体与 CodeFont 写入的设置一致。
{
"editor.fontFamily": "'Server Mono', 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace"
} 授权
免费
可免费使用,具体授权条款请查看官方说明。
连字
否
不支持编程连字。
获取方式
GitHub
页面上方有官方来源链接。
关于 Server Mono 编程字体
受打字机和 CLI 启发的等宽字体。 可免费使用,具体授权条款请查看官方说明。 不支持编程连字。
在设备上安装 Server Mono 后即可预览原字体。未安装时,预览会使用标准等宽字体。 这是 CodeFont 收录的 95 款字体之一。
Server Mono 常见问题
Server Mono 可以免费使用吗?
可免费使用,具体授权条款请查看官方说明。
Server Mono 支持连字吗?
不支持。-> 和 != 等符号组合会显示为独立字符。
在哪里可以获取 Server Mono?
可从以下来源获取 Server Mono:GitHub。
在 VS Code 中设置 Server Mono
使用 CodeFont,一键为编辑器或终端设置字体。操作在本地完成,不收集遥测数据。