VSCODE - settings.json 세팅정리

반응형

 

1. database.php 파일 Ctr + F로 검색 되게 하는 법

- 간혹 database.php 검색이 안 되는데 알고보니 이그노어에 해당파일 있으면 검색이 안 된다고 하며 어쨋든 아래 설정으로 검색 가능하게 할 수 있음

 

"search.useIgnoreFiles": false

 

------------------------------------------------------

 
  // 설치한 Extention List 정리
  // 1. Sublime Mariana - Test
  // 2. go to definition alias
  // 3. Highlight (하이라이트 익스텐션설치후 적용되는 기본 코드는 지워야함)


  // 1. Sublime Mariana ⎯ Test (코드 자동적용)
  "workbench.colorTheme": "Sublime Mariana ⎯ Test",
 
 
 
  // 잘 모름
  "editor.semanticHighlighting.enabled": true,

  // 따옴표 자동 닫기 설정
  "editor.autoClosingBrackets": "languageDefined",
  "editor.autoClosingQuotes": "languageDefined",  

  // 벤더프리픽 주의 무시 설정
  "css.lint.vendorPrefix": "ignore",

  // 코드 폰트 사이즈 설정
  "editor.fontSize": 15,
 
  // 탭 2줄 이상 설정
  "workbench.editor.wrapTabs": true,

  // 탭 높이 빡빠가게 줄이기 설정
  "window.density.editorTabHeight": "compact",
 
  // 괄호짝 선으로 라인 그려서 보여주기
  "editor.guides.bracketPairs": true,

  // 괄호 중첩된거 컬러 다르게 설정
  "editor.bracketPairColorization.enabled": true,
 

  // Sublime Mariana - Test (커스텀 코드 배경 색상)
  "workbench.colorCustomizations": {
    "[Sublime Mariana ⎯ Test]": {
      "editor.background": "#1e2429fa", // 명암 대비 높이기
      "editor.foreground": "#ffffffe8", // 글자색 명확하게 밝게
    },
  },
   // Sublime Mariana - Test (커스텀 코드 클래스 색상)
  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": "entity.other.inherited-class.php",
        "settings": {
          "foreground": "#60B4B4"
        }
      },
      {
        "scope": "meta.function.php entity.name.function.php",
        "settings": {
          "foreground": "#60B4B4",
          "fontStyle": "bold"
        }
      },
      {
        "scope": "meta.method-call.php entity.name.function.php ",
        "settings": {
          "foreground": "#6699cc",
        }
      },
    ]
  },
  // 3. highlight (커스텀 코드 달러 색상)
  "highlight.regexes": {
    "(\\$)": {
      "color": "#60B4B4",
      "fontStyle": "italic bold"
    }
  }
}
반응형