Visual Studio Code 버전 1.11.2를 사용하고 있습니다. 모든 언어 파일 또는 최소한 JavaScript, Python, C 및 C ++에서 기울임 꼴 주석을 볼 수 있어야합니다. 이에 대한 일반적인 설정이 있습니까 아니면 현재이를 달성 할 수있는 프로그래밍 방식이 있습니까?
빅터를 올바른 방향으로 알려 주셔서 감사합니다. 이것을 내 설정 파일 (Visual Studio Code 1.42.1)에 넣으면 트릭이 생겼습니다.
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "comment",
"settings": {
"fontStyle": "italic"
}
}
]
}
을 누르고 ctrl/cmd + shift + p
를 찾아 선택기 범위를 볼 수 있습니다 Developer: Inspect Editor Tokens and Scopes
.
배열을 제공하여 여러 범위에 설정을 적용 할 수 있습니다.
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "Comment",
"scope": [
"comment",
"comment.block",
"comment.block.documentation",
"comment.line",
"comment.line.double-slash",
"punctuation.definition.comment",
],
"settings": {
"fontStyle": "italic",
// "fontStyle": "italic underline",
// "fontStyle": "italic bold underline",
}
},
]
},
관련 : Visual Studio Code를 가져 와서 형식이 지정된 코드로 기울임 꼴 글꼴을 표시하려면 어떻게해야합니까?
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다