파피루스

vscode 설정 초기화 방법 & re-setting 본문

Today I Learned/in dev

vscode 설정 초기화 방법 & re-setting

떼굴펜 2024. 10. 5. 20:11

초기화

1. 플러그인 삭제

C:\User\사용자이름\.vscode 폴더 삭제

 

2. 개인설정 파일 삭제

C:\User\사용자이름\AppData\Roaming\Code 폴더 삭제

 

install plugins : https://reeny404.tistory.com/136

 

필수 vscode 확장 프로그램 (plugins/extension)

prettier - Code formatterhttps://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode Prettier - Code formatter - Visual Studio MarketplaceExtension for Visual Studio Code - Code formatter using prettiermarketplace.visualstudio.com EsLintht

reeny404.tistory.com

 

vscode preference > setting

- files: Auto save = afterDelay

- Editor: Default Formatter = Prettier - Code Formatter

- Editor: Format On Save = true

- terminal.external.windowsExec : git bash link 연결

- tab size : 2

vscode termianl default profile, git bash 로 변경

 

 

혹시 몰라 남겨두는 이전에 쓰던 settings.json

{
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "explorer.confirmDragAndDrop": false,
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "terminal.integrated.defaultProfile.windows": "Git Bash",
  "git.enableSmartCommit": true,
  "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "git.confirmSync": false,
  "terminal.external.windowsExec": "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Git\\Git Bash.lnk",
  "terminal.integrated.copyOnSelection": true,
  "editor.formatOnPaste": true,
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "explorer.confirmDelete": false,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "always",
    "source.organizeImports": "always"
  },
  "tailwindCSS.emmetCompletions": true,
  "tailwindCSS.experimental.classRegex": [
    ["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
    ["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"],
    ["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
  ],
  "workbench.iconTheme": "material-icon-theme",
  "javascript.updateImportsOnFileMove.enabled": "always",
  "typescript.updateImportsOnFileMove.enabled": "always",
  "[javascript][javascriptreact][typescript][typescriptreact]": {
    "editor.tabSize": 2
  },
  "css.lint.unknownAtRules": "ignore",
  "emmet.includeLanguages": {
    "javascript": "javascriptreact"
  },
  "javascript.preferences.importModuleSpecifierEnding": "minimal",
  "liveServer.settings.donotShowInfoMsg": true,
  "[markdown]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "amazonQ.importRecommendationForInlineCodeSuggestions": false,
  "amazonQ.shareContentWithAWS": false,
  "amazonQ.telemetry": false,
  "amazonQ.showInlineCodeSuggestionsWithCodeReferences": false,
  "[css]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "editor.linkedEditing": true,
  "diffEditor.ignoreTrimWhitespace": false,
  "workbench.colorTheme": "Kanagawa",
  "githubPullRequests.pullBranch": "never",
  "files.autoSave": "afterDelay",
  "files.autoSaveDelay": 5000,
  "git.autofetch": true,
  "eslint.codeActionsOnSave.rules": null,
  "files.autoSaveWhenNoErrors": true,
  "html.completion.attributeDefaultValue": "singlequotes",
  "prettier.singleQuote": true,
  "scssFormatter.singleQuote": true,
  "prettier.jsxSingleQuote": true,
  "editor.formatOnSave": true,
  "editor.tabSize": 2,
  "javascript.preferences.quoteStyle": "single",
  "typescript.preferences.quoteStyle": "single"
}