스마트시대
이런 데서 코드 작성해서 결과 확인 vscode 본문
728x90
nodecode
Run Dart code live in your browser. Write and run code in 50+ languages online with Replit, a powerful IDE, compiler, & interpreter.
replit.com
vscode
반복되는 코드를 한번에 수정하기
- 맥 단축키: Command + D
이전에(이후에) 작업하던 코드로 이동하기
맥 단축키: ⌃ - / ⌃ ⇧ - (Alt + ← / →) : 이전 위치, 다음 위치
동시에 커멘트 적고 싶을 때(multi select)
맥 단축키: Option + 클릭 (Alt + 클릭)
서로 다른 단어들 한번에 고칠 때 선택하기
맥 단축키: Cmd + Shift + L (Ctl + Shift + L)
1. Prettier - Code formatter 설치
2. 설정 방법
- File > Preferences > Settings
- Default Formatter 검색 > Prittier - Code formatter 선택
- editor format on save 검색 > Fomat On Save 체크
- json 검색 > Edit in setting.json 클릭 > editor.formatOnSave true 확인
탭이동
- 맥 단축키: Option + command + <>
변수명/함수명 한번에 바꾸기
- 단축키: F2
코드 위/아래로 이동하기
- 맥 단축키: Option + ↑ 또는 ↓
코드 위/아래로 복사하기
- 맥 단축키: Shift + Option + ↑ 또는 ↓
여러 곳에 커서를 두고 수정하기
- 맥 단축키: Option + 마우스 클릭
다중 커서 선택하여 수정하기
- 맥 단축키: Command + Option + ↑ 또는 ↓
코드 맨 마지막에 커서 두기
- 맥 단축키: Shift + Option + I
커서 위치에서 박스 형태로 선택하기
- 맥 단축키: Shift + Option + 마우스 드래그
코드 맨 위 또는 맨 아래로 이동하기
- 맥 단축키: Command + ↑ 또는 ↓
사이드바 숨김/보이기
- 맥 단축키: Command + B
단축키 모두 확인하기
맥 기준으로 설명하겠습니다.
단축키를 볼 수 있는 페이지는 메뉴 Code > Preferences > Keyboard Shortcuts에 있다. Shift + Command + P 를 눌러서 keyboard shortcuts를 검색하면 쉽게 찾을 수 있다. 또는 단축키로 Command + S, Command + K 를 차례대로 입력하면 단축키 페이지로 이동한다
728x90
반응형
'Programing > Flutter' 카테고리의 다른 글
| AUTHENTICATION 4.1 Login Screen tiktok 4.2 AuthButton (0) | 2023.04.25 |
|---|---|
| AUTHENTICATION 4. sign up screen (0) | 2023.04.24 |
| AppBar, Data Fetching, from Json (0) | 2023.04.05 |
| 2-3.Userinterface, timer(start and pause) and data format (0) | 2023.03.31 |
| 2-2.Buildcontext, wedget life cycle (0) | 2023.03.31 |
Comments