edit code
- black 으로 formatting
- refactoring : 드래그해서 extract variables, extract method, rename module, sort imports
Enable linting
To enable linters, open the Command Palette (Ctrl+Shift+P) and select the Python: Select Linter command. The Select Linter command adds "python.linting.<linter>Enabled": true to your settings, where <linter> is the name of the chosen linter. See Specific linters for details.
Enabling a linter prompts you to install the required packages in your selected environment for the chosen linter.
Run linting
To perform linting, open the Command Palette (Ctrl+Shift+P), filter on "linting", and select Python: Run Linting. Linting will run automatically when you save a file
Intellisense suggestion : ctrl + space
Create environment (command pallete)
'프로그래밍 (이동 완료) > 개발 환경 설정' 카테고리의 다른 글
vscode python venv (0) | 2023.05.28 |
---|---|
sudo, apt 무엇을 의미하는 것일까? (0) | 2023.04.15 |
리눅스 Path 우선 순위 (0) | 2023.03.26 |