VSCode
VSCode 초기설정 방법을 정리한 페이지.
Extensions
Better Comments
: 주석을 더 보기 좋게 색상화하는 확장Project Manager
: 프로젝트 관리를 쉽게 해주는 확장VSCode Color
: 색상 피커와 편집기를 제공하는 확장HTML End Tag Labels
: HTML 종료 태그에 레이블을 표시하는 확장HTML Tag Wrap
: HTML 태그로 텍스트를 감싸주는 확장GitLens
: Git 기능을 강화하는 확장HTML CSS Support
: HTML과 CSS 지원 기능 강화Original Obsidian Theme
: Obsidian 테마Fira Code Nerd Font
: Fira Code Nerd 폰트 지원Prettier
: 코드 포맷터Figma
: Figma 통합 기능Auto Close Tag
: HTML/XML 태그 자동 닫기Auto Rename Tag
: HTML/XML 태그 자동 이름 변경Code Runner
: 코드 실행기GitHub Theme
: GitHub 테마Live Sass
: SASS 실시간 컴파일러Turbo JS
: JavaScript 성능 최적화 도구FontAwesome Autocomplete
: Font Awesome 자동완성Better C++ Syntax
: C++ 구문 강조 개선Auto Filename
: 파일 이름 자동완성Peacock
: 워크스페이스 색상 테마 관리Python Indent
: Python 들여쓰기 지원Gutter Preview
: 이미지 미리보기LeetCode
: LeetCode 문제 풀이 지원Noctis Theme
: Noctis 테마Monokai Pro
: Monokai Pro 테마Docker
: Docker 통합 도구Korean Language Pack
: 한국어 언어 팩PowerShell
: PowerShell 개발 도구Color Highlight
: 색상 코드 하이라이트Obsidian Theme
: Obsidian 테마Indent Rainbow
: 들여쓰기 레인보우 효과GraphQL
: GraphQL 지원Material Icon Theme
: Material 아이콘 테마Live Server
: 실시간 서버Synthwave Theme
: Synthwave 테마React/JS Snippets
: React/JS 코드 스니펫Obsidian Theme
: Obsidian 테마Fira Code
: Fira Code 폰트 지원Background
: VSCode 배경 이미지 설정HTML to CSS Autocompletion
: HTML to CSS 자동완성Auto Import
: 자동 임포트Styled Components
: styled-components 지원FontAwesome Gallery
: Font Awesome 갤러리PDF Viewer
: PDF 뷰어Error Lens
: 인라인 에러 표시IntelliCode Examples
: IntelliCode API 사용 예제IntelliCode
: IntelliCode AI 지원Colonize
: 세미콜론 자동 추가Styled Variables
: styled-components 전역 변수 자동완성Material Theme
: Material 테마Paste Image
: 마크다운에서 클립보드의 이미지 쉽게 붙여넣기
Settings
VSCode의 주요 설정:
- Enable Preview 기능 비활성화
- Tab Size를 2로 설정 (업계 표준)
- Word Wrap 활성화 - 긴 줄 자동 줄바꿈
- Mouse Wheel Zoom 활성화 - 마우스 휠로 확대/축소 가능
- Auto Save 설정
- After Delay로 설정
- Delay 값을 500ms로 지정
- Emmet 설정
- Variables에 lang:ko 추가하여 한국어 지원
- 폴더 표시 설정
- Explorer의 Compact Folder 비활성화
아니면 아래의 json파일을 settings.json에 추가하면 된다.
{
"code-runner.runInTerminal": true,
"code-runner.saveFileBeforeRun": true,
"workbench.colorTheme": "GitHub Dark Dimmed",
"workbench.iconTheme": "material-icon-theme",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.tabSize": 2,
"editor.wordWrap": "on",
"editor.mouseWheelZoom": true,
"files.autoSaveDelay": 500,
"files.autoSave": "afterDelay",
"liveServer.settings.fullReload": true,
"liveServer.settings.donotVerifyTags": true,
"emmet.variables": {
"lang": "ko"
},
"editor.rename.enablePreview": false,
"workbench.editor.enablePreview": false,
"liveSassCompile.settings.generateMap": false,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.bracketPairColorization.enabled": false,
"workbench.sideBar.location": "right",
"liveSassCompile.settings.showOutputWindowOn": "Error",
"background.useDefault": false,
"background.customImages": [
"file:///C:/Users/tyler/OneDrive/문서/ydh (1).png",
"file:///C:/Users/tyler/OneDrive/문서/ydh (2).png",
"file:///C:/Users/tyler/OneDrive/문서/ydh (3).png"
],
"background.style": {
"images": [],
"background-size": "cover",
"background-position": "center",
"opacity": 0.1
},
"background.fullscreen": {
"images": [],
"opacity": 0.1,
"size": "cover",
"position": "center",
"interval": 0
},
"background.enabled": false,
"editor.tabCompletion": "on",
"emmet.excludeLanguages": ["javascript"],
"emmet.includeLanguages": {
"markdown": "html",
"javascript": "javascriptreact"
},
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": {
"comments": "on",
"strings": "on",
"other": "on"
}
},
"emmet.showSuggestionsAsSnippets": true,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"javascript.updateImportsOnFileMove.enabled": "always",
"diffEditor.codeLens": true,
"tabnine.experimentalAutoImports": true,
"code-runner.executorMap": {
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"zig": "zig run",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python -u",
"perl": "perl",
"perl6": "perl6",
"ruby": "ruby",
"go": "go run",
"lua": "lua",
"groovy": "groovy",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"bat": "cmd /c",
"shellscript": "bash",
"fsharp": "fsi",
"csharp": "scriptcs",
"vbscript": "cscript //Nologo",
"typescript": "tsx",
"coffeescript": "coffee",
"scala": "scala",
"swift": "swift",
"julia": "julia",
"crystal": "crystal",
"ocaml": "ocaml",
"r": "Rscript",
"applescript": "osascript",
"clojure": "lein exec",
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
"racket": "racket",
"scheme": "csi -script",
"ahk": "autohotkey",
"autoit": "autoit3",
"dart": "dart",
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
"haskell": "runghc",
"nim": "nim compile --verbosity:0 --hints:off --run",
"lisp": "sbcl --script",
"kit": "kitc --run",
"v": "v run",
"sass": "sass --style expanded",
"scss": "scss --style expanded",
"less": "cd $dir && lessc $fileName $fileNameWithoutExt.css",
"FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"sml": "cd $dir && sml $fileName",
"mojo": "mojo run",
"erlang": "escript",
"spwn": "spwn build",
"pkl": "cd $dir && pkl eval -f yaml $fileName -o $fileNameWithoutExt.yaml",
"gleam": "gleam run -m $fileNameWithoutExt"
},
"explorer.confirmDelete": false,
"workbench.settings.applyToAllProfiles": ["editor.fontFamily"],
"udb.miDebuggerPathOverride": "/Users/tylerjon/Library/Application Support/Cursor/User/globalStorage/undo.udb/UDB-Individual-Evaluation/udb",
"udb.showGettingStartedOnActivation": false,
"explorer.confirmDragAndDrop": false,
"typescript.updateImportsOnFileMove.enabled": "always",
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"explorer.compactFolders": false
}
Keybindings
alt
를 누른 채로 클릭을 하면 커서를 여러개 놓을 수 있다. alt+shift+up/down
을 누르면 커서가 위치해있는 줄이 윗줄/아랫줄로 복사된다. alt+up/down
을 누르면 커서가 위치해있는 줄이 윗줄/아랫줄로 이동한다.