Replies: 2 comments 7 replies
-
Question DescriptionFirst of all, I really like this font. Especially the TODO label feature. So, I decided to use a GitHub Action to create a custom font that suits my needs. Since I already have the original Maple Font installed on my computer, to avoid name clashes and to make it easier to distinguish, I renamed the font I modified using the Action to However, when I enabled this font in Visual Studio Code and Windows Terminal, the What is I wantedThe label is displayed normally, as shown below Reproduction Method
Environment SettingsFont Build OptionsMy font settings can be found in my forked repository. If needed, click this link: config.json GitHub ActionThe GitHub Action build process and log are here: Custom Build #1 Visual Studio CodeAlso, if needed, here are my VSCode configuration and VSC version information. It's a bit confusing...: {
"git.autofetch": true,
"editor.fontFamily": "'Samhacker Maple Font Mono NFMono CN', 'FiraCode Nerd Font', 'Noto Sans TC', monospace",
"git.enableSmartCommit": true,
"workbench.iconTheme": "material-icon-theme",
"explorer.confirmDelete": false,
"security.workspace.trust.untrustedFiles": "open",
"background.enabled": true,
"background.fullscreen": {
"images": [
"https://510208.github.io/b702be285b901cb31fb100cdf4ed7271_waifu2x_art_noise1_scale.png",
"file:///C:/vsbackground/2.png",
"file:///C:/vsbackground/1.png"
],
"opacity": 0.95,
"size": "cover",
"position": "center",
"interval": 1000,
"random": true
},
"background.editor": {
"useFront": false,
"style": {
"background-position": "95% 100%",
"background-size": "10% auto",
"opacity": 0.85
},
"styles": [{}, {}, {}],
"images": [
"file:///C:/vsbackground/Kongo.png",
"file:///C:/vsbackground/Kt.png",
"file:///C:/vsbackground/Kuroko.png",
"file:///C:/vsbackground/Mm.png",
"file:///C:/vsbackground/Uk.png"
],
"interval": 0,
"random": true
},
"material-icon-theme.folders.color": "#7cb342",
"files.autoSave": "onFocusChange",
"explorer.confirmDragAndDrop": false,
"git.confirmSync": false,
"github.copilot.chat.localeOverride": "zh-TW",
"gitlens.defaultDateLocale": "zh-TW",
"terminal.integrated.fontFamily": "'Samhacker Maple Font Mono NFMono CN', 'FiraCode Nerd Font', 'Noto Sans TC', monospace",
"redhat.telemetry.enabled": false,
"python.defaultInterpreterPath": "C:\\Users\\Acer91\\AppData\\Local\\Programs\\Python\\Python310\\python.exe",
"python.createEnvironment.trigger": "off",
"terminal.integrated.enableMultiLinePasteWarning": "auto",
"workbench.colorTheme": "Railgun",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"terminal.integrated.allowedLinkSchemes": [
"file",
"http",
"https",
"mailto",
"vscode",
"vscode-insiders",
"ms-settings"
],
"explorer.confirmPasteNative": false,
"editor.tabSize": 2,
"geminicodeassist.project": "",
"editor.cursorSmoothCaretAnimation": "on",
"editor.cursorBlinking": "smooth",
"diffEditor.codeLens": true,
"update.showReleaseNotes": false,
"geminicodeassist.inlineSuggestions.enableAuto": true,
"gitlens.ai.model": "vscode",
"gitlens.ai.vscode.model": "copilot:gpt-4-turbo",
"chat.mcp.discovery.enabled": true,
"workbench.secondarySideBar.showLabels": false,
"workbench.productIconTheme": "bongocat",
"vscode-live2d.enabled": true,
"svelte.enable-ts-plugin": true,
"github.copilot.nextEditSuggestions.enabled": true,
"chat.agent.enabled": true,
"typescript.updateImportsOnFileMove.enabled": "always",
"chat.editing.confirmEditRequestRemoval": false,
"auto-rename-tag.activationOnLanguage": [
"html",
"xml",
"php",
"javascript",
"typescript",
"vue",
"svelte",
"astro",
"markdown",
"javascriptreact"
],
"editor.linkedEditing": true,
"terminal.integrated.fontLigatures.enabled": true,
"editor.fontLigatures": true
}
Operating SystemMicrosoft Windows 10 Ver.22H2 |
Beta Was this translation helpful? Give feedback.
-
感谢你的喜爱🥰 你可以试一下去除字体名的引号,即 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
問題說明
首先,我很喜歡這個字體。尤其是TODO的標籤那個功能。
因此我決定自己使用GitHub Action建置一個符合我的需求的字體版本。因為我的電腦中也安裝有原版的Maple Font,為了避免撞名並且方便分辨,我將自己使用Action調整過的字體改命名為
Samhacker Maple Font Mono NFMono CN
(希望這沒有違反字體的使用規定,我只是自己拿來用而已)但我在Visual Studio Code與Windows Terminal中啟用了這個字體,我想看到的
[TODO]
功能卻沒有被啟用。我已經開了VSCode的連字支持,但似乎沒有幫助(詳見附圖)。Note
順帶一提,我所謂的「不作用的標籤」指的是這個:

預計目標
正常顯示標籤,如下圖

復現方式
terminal.integrated.fontFamily
與editor.fontFamily
)terminal.integrated.fontLigatures.enabled
與editor.fontLigatures
環境設定
字體建置選項
我的字體設定可以在我Fork的儲存庫中看到。如果有需要可以點這個連結前往:
config.json
GitHub Action
GitHub Action的建置流程與記錄檔在這裡:Custom Build #1
Visual Studio Code
另外,如果有需要以下是我的VSCode的配置與VSC的版本資訊,很亂...:
作業系統
Beta Was this translation helpful? Give feedback.
All reactions