You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何查看VS Code集成终端当前主题的配色以同步至标准终端?

How to View Your VS Code Integrated Terminal's Color Scheme

Got it, let's walk through exactly how to check the color palette your VS Code integrated terminal is using—so you can match it to your standard terminal setup. No guesswork or unnecessary config edits needed:

  • Use the Inspector Tool for Real-Time Color Values

    1. Open the Command Palette with Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac).
    2. Search for and run the command Developer: Inspect Editor Tokens and Scopes.
    3. Click any text in your integrated terminal (a command, output line, error message—anything). A side panel will pop up showing detailed info about that text's styling, including the exact hex color codes for its foreground and background. This is perfect for grabbing specific syntax highlight colors (like for paths, success messages, or errors).
  • Check the Terminal Color Customization Settings

    1. Open VS Code's Settings (press Ctrl+, or Cmd+,).
    2. Search for Terminal > Integrated: Color Customizations.
    3. Click Edit in settings.json to see the full list of terminal color variables (like terminal.background, terminal.foreground, terminal.ansiRed, etc.). Each variable will show the hex color your current theme uses for that terminal element. If some variables are missing, that means your theme is using its default values for those elements—use the inspector tool above to grab those instead.

This way you'll get all the exact color codes you need to replicate your VS Code terminal's look in your standard terminal app.

内容的提问来源于stack exchange,提问作者Николай Параскива

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 09:57:35