VSCode ํ ๋ง๊ฐ ์ง๋ ค์ ์ง์ ์ปค์คํ ํด ๋ฐ๊ฟ๋ณด๊ธฐ๋ก ํ๋ค.
setting.json ๋ณ๊ฒฝ
vsc์ ์ ์ํด์ [Shift + Ctrl + P] ํน์ ๊ฒ์๋ฐ์ [>] ๊บฝ์๋ฅผ ์ ๋ ฅํ๊ณ setting.json์ ์ ์ํ๋ค.
workbench.colorCustomiztions์ ์ํ๋ ์์์ ์
๋ ฅํด์ฃผ๋ฉด ๋๋ค.
(์์ ์ถ์ฒ์ ์ฑ์งํผํฐํํ
๋ฐ์ ใ
ใ
)
ํ๋ค๋ณด๋ ์์ฌ์ด ์๊ฒจ์ ๊ฑฐ์ ๋ชจ๋ ์ค์ ์ ๋ฐ๊ฟ์คฌ๋ค
"workbench.colorCustomizations": {
"focusBorder": "#4c5669",
"list.hoverBackground": "#2c323d",
"titleBar.activeBackground": "#4C566A", //์์ชฝ ํ์ดํ ๋ฐ
"titleBar.inactiveBackground": "#4c566a",
"editor.background": "#2E3440", // ๋ฐฐ๊ฒฝ์
"editor.foreground": "#D8DEE9",
"editor.lineHighlightBackground": "#4C566A", // ์ ํํ ๋ผ์ธ ์
"editorWhitespace.foreground": "#616E88",
"editor.selectionBackground": "#5E81AC", // ๋๋๊ทธ ์
"editorCursor.foreground": "#88C0D0", // ์ปค์ ์
"activityBar.background": "#4C566A", // ์ผ์ชฝ ๋ฉ๋ด๋ฐ
"activityBar.border": "#4C566A",
"activityBar.foreground": "#D8DEE9",
"activityBar.activeBorder": "#D8DEE9",
"activityBar.inactiveForeground": "#979ba3",
"activityBarBadge.background": "#34699A",
"menu.background": "#242933",
"menu.separatorBackground": "#242933",
"menu.border": "#242933",
"button.background": "#4c5669",
"button.border": "#4c5669",
"button.hoverBackground": "#444D5E",
"titleBar.border": "#4C566A",
"statusBar.background": "#434C5E", // ํ๋จ ์ํ๋ฐ
"statusBar.border": "#434C5E",
"tab.activeBackground": "#3B4252", //focus ๋ ํญ
"tab.activeBorder": "#3B4252",
"tab.border": "#2c323d",
"tab.activeBorderTop": "#EBCB8B",
"tab.hoverBackground": "#4e5463",
"tab.inactiveBackground": "#3B4252", //๋นํ์ฑํ ํญ ๋ฐฐ๊ฒฝ์
"editorGroupHeader.tabsBorder": "#3B4252", //ํญ ์๋์ชฝ ํ
๋๋ฆฌ ์
"editorGroupHeader.border": "#2E3440",
"input.background": "#2E3440",
"input.border": "#2E3440",
"sideBar.background": "#3B4252", // ํธ๋ฆฌ ๋ฐฐ๊ฒฝ์
"sideBar.border": "#3B4252",
"sideBarSectionHeader.background": "#2c323d", // ํธ๋ฆฌ ์ต์๋จ ๋ฐฐ๊ฒฝ์
"editorGroupHeader.tabsBackground": "#3B4252",
"terminal.background": "#2E3440", //#2C323D
"panel.background": "#4C566A",
"panel.border": "#4C566A",
"panelTitle.activeBorder": "#EBCB8B",
"panelTitle.activeForeground": "#EBCB8B",
"panelTitle.inactiveForeground": "#D8DEE9",
"badge.background": "#5E81AC",
},
์ ์ค์ ์ ๋ง์ถฐ ํ
์คํธ ์ค์ ์ ๋ฐ๊พธ๋ ๋ฐฉ๋ฒ๋ ์๋ค.
์ผ๋จ ๊ฐ์ฅ ๋ง์ด ์ฐ๋ yaml๊ณผ python๋ง ์ค์ ํด์ฃผ์๋ค.
๊ทผ๋ฐ vsc ๋ด์์ remote ssh๋ฅผ ์ฐ๋ฉด yaml์ ์๊ทธ๋ฌ๋๋ฐ ํ์ด์ฌ์ ์ค์ ์ด ์๋จน๋ ์ค๋ฅ๊ฐ ๋ฐ์ํจ.. ์ถํ ์ฐพ์๋ด์ผ๊ฒ ์
๋จผ์ ๋์ผํ๊ฒ [Shift + Ctrl + P] ํน์ ๊ฒ์๋ฐ์ [>] ๊บฝ์๋ฅผ ์
๋ ฅํ๊ณ " Developer: Inspect Editor Tokens and Scopes"๋ฅผ ์
๋ ฅํ๋ค.
ํด๋น ์ค์ ์ ํด๋ฆญํ๋ฉด Editor ์ฐฝ์ ์๋์ ๊ฐ์ ์ค๋ช
์ด ๋จ๋๋ฐ, ์ด๋ฅผ ํตํด ๋ด๊ฐ ์ ํํ ํค์๋๊ฐ ์ด๋ค ์ ๋ณด๋ฅผ ๊ฐ์ง๊ณ ์๋์ง ์ ์ ์๋ค.
ํ์ธ ํ, setting.json์ ์ ์ํด์ scope์ foreground ์์์ ์ค์ ํด์ฃผ๋ฉด ๋๋ค.
"editor.tokenColorCustomizations": {
"comments": "#7D8799",
"textMateRules": [
{
"scope": "variable.parameter",
"settings": {
"foreground": "#F78C6C"
}
},
{
"scope": "variable.other.global",
"settings": {
"foreground": "#e54611"
}
},
{
"scope": "entity.name.tag.yaml",
"settings": {
"foreground": "#C792EA"
}
},
{
"scope": [
"string.unquoted.plain.out.yaml", // YAML ๊ฐ (์ผ๋ฐ ๋ฌธ์์ด)
"string.quoted.single.yaml", // ์์๋ฐ์ดํ ๊ฐ
"string.quoted.double.yaml", // ํฐ๋ฐ์ดํ ๊ฐ
],
"settings": {
"foreground": "#E5C07B"
}
},
{
"scope": "string.unquoted.block.yaml",
"settings": {
"foreground": "#B0D97E"
}
},
{
"scope": [
"punctuation.definition.comment.yaml",
"comment.line.number-sign.yaml",
"source.yaml",
"comment punctuation.definition.comment"
],
"settings": {
"foreground": "#7D8799"
}
},
{
"scope": "entity.name.type.class.python",
"settings": {
"foreground": "#C678DD" // ํด๋์ค ์ด๋ฆ ์์
}
},
{
"scope": "entity.name.function.python",
"settings": {
"foreground": "#61AFEF" // ํจ์ ์ด๋ฆ ์์
}
},
{
"scope": "variable.parameter.python",
"settings": {
"foreground": "#E5C07B" // ํจ์ ๋งค๊ฐ๋ณ์ ์์
}
},
{
"scope": "constant.language.python",
"settings": {
"foreground": "#C678DD" // ์์ ์์
}
},
{
"scope": "string.quoted.single.python",
"settings": {
"foreground": "#98C379" // ๋ฌธ์์ด ์์
}
},
{
"scope": "source.python",
"settings": {
"foreground": "#FFFACD" // Python ์ฝ๋ ๊ธฐ๋ณธ ์์
}
}
]
},
์ฐธ๊ณ :
https://code.visualstudio.com/api/references/theme-color#text-colors
'ํ์ ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[GitLab] GitLab CE ๋ฐฑ์ ๋ฐ ๋ณต๊ตฌ (0) | 2024.07.01 |
---|---|
[Notion] Windows์์ Notion ๊ฐ์ ์ข ๋ฃํ๋ ๋ฒ (0) | 2024.05.09 |
[GitLab] GitLab์ ๋ฐฑ์ ํ์ผ ์ ๋ก๋ ๋ฐ ์ถฉ๋ ํด๊ฒฐ (0) | 2024.04.30 |
[VSCode] VSCode๋ก ์๊ฒฉ ssh ์ ์ํ๊ธฐ (0) | 2024.03.31 |
[GitHub] GitHub์์ ์ด๋ฏธ Push๋ ์ปค๋ฐ ๋ฉ์์ง ์์ ํ๊ธฐ (0) | 2024.03.23 |