Community程式設計與開發github.com

sunrisever/vscode-frosted-glass

在 Windows 上為 VS Code 設定毛玻璃透明效果

vscode-frosted-glass 是什麼?

這個技能提供在 Windows 作業系統上為 Visual Studio Code 啟用毛玻璃(半透明)視窗效果的完整解決方案。它主要利用第三方工具或修改 VS Code 的視窗樣式來實現類似 macOS 的毛玻璃透明外觀,提升編輯器的視覺體驗。技能支援 Windows 平台,並包含詳細的設定步驟,可能涉及註冊表編輯或使用特定工具如 TranslucentTB 或修改 VS Code 的 CSS 檔案。使用者需要按照說明安裝必要的依賴並調整系統設定。透過此技能,開發者可以獲得美觀且現代的程式編輯環境,同時保持 VS Code 的所有功能不受影響。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add sunrisever/vscode-frosted-glass

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

vscode-frosted-glass 是做什麼的?

VS Code 毛玻璃透明效果設定(Windows)

簡介

這個專案提供在 Windows 系統上為 Visual Studio Code 啟用毛玻璃透明效果的方法,讓編輯器視窗呈現半透明的視覺風格。

使用方式

請依照以下步驟設定:

  1. 下載並安裝必要工具

    下載 TranslucentTB 或類似工具,用於啟用視窗透明效果。

  2. 修改 VS Code 設定

    開啟 VS Code 的設定檔 settings.json,加入以下內容:

    {
      "window.titleBarStyle": "custom",
      "window.customTitleBarVisibility": "never"
    }
    
  3. 修改 VS Code CSS

    找到 VS Code 的安裝目錄,編輯 workbench.desktop.main.css 檔案(通常位於 resources/app/out/vs/code/electron-browser/workbench/),加入以下樣式:

    .monaco-workbench {
      background-color: transparent !important;
    }
    
  4. 重新啟動 VS Code

    關閉並重新開啟 VS Code,毛玻璃效果應會生效。

注意事項

  • 此方法僅適用於 Windows 系統。
  • 若效果未顯示,請確認已正確安裝並執行 TranslucentTB。
  • 修改 CSS 檔案後,VS Code 更新時可能會覆蓋變更,需重複設定。

授權

本專案採用 MIT 授權條款。

相關技能