본문 바로가기

잡담

VSCode 개인 설정(Extensions, settings.json)

1. Extensions

 

2. Settings

Ctrl + Shift + P

Settings 검색

Preferences: Open User Settings (JSON) 선택

settings.json

{
    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
    "workbench.colorTheme": "Default Dark+",
    "workbench.iconTheme": "vscode-icons",
    "editor.tabSize": 2,
    "[python]": {
        "editor.insertSpaces": true,
        "editor.tabSize": 4
    },
    "files.associations": {
        "**/*.html": "html",
        "**/templates/**/*.html": "django-html",
        "**/templates/**/*": "django-txt",
        "**/requirements{/**,*}.{txt,in}": "pip-requirements"
        },
        "emmet.includeLanguages": {
        "django-html": "html"
        },
        "workbench.startupEditor": "newUntitledFile",
        "python.pythonPath": "{{개인 주소}}\\python.exe",
        "python.defaultInterpreterPath": "{{개인 주소}}\\python.exe",
        "terminal.integrated.defaultProfile.windows": "Git Bash",
        "python.terminal.activateEnvironment": false,
    "editor.formatOnPaste": true,
    "editor.formatOnType": true,
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "eslint.alwaysShowStatus": true,
    "eslint.workingDirectories": [
        {
            "mode": "auto"
        }
    ],
    "eslint.validate": [
        "javascript",
        "typescript",
        "html",
        "vue"
    ],
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter.notebook.ipynb",
        "*.class": "default"
    },
    "remote.SSH.remotePlatform": {
        "{{ip 주소}}": "linux",
        "{{ip 주소}}": "linux",
        "{{ip 주소}}": "linux"
    },
    "notebook.lineNumbers": "on",
}

Terminal -> Git Bash로 기본 설정

다크 모드

esling

jupyter notebook

python

등등의 설정이 담겨 있다.

 

{{개인 주소}}

{{ip 주소}} [이건 서버 접속할 때 쓰던건데 사실 필요없을 듯]

여기는 컴퓨터에 맞게 적절히 넣기