본문 바로가기

프로그래밍 (이동 완료)/개발 환경 설정

vscode

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)