Microsoft tarafından geliştirilen açık kaynaklı bir idedir.
- VsCode Sürümü (https://code.visualstudio.com/)
- Telemetry Olmayan Sürüm (https://vscodium.com/)
Eklenti Adı | Kullanım Amacı |
---|---|
Python | Linter, Debug, Code Formatting |
Bracket Pair Colorizer 2 | Parantez ve süslü parantezleri ayırt etme. |
Indent-rainbow | Tabları renklendirir |
Visual Studio IntelliCode | Yapay zekalı asistan |
Pylance | Python yardimci kod tamamlayici |
One Dark Pro | Tema (opsiyonel) |
Vscode-icons | Guzel iconlar (opsiyonel) |
https://marketplace.visualstudio.com/VSCode
Settings > Open Settings.json
"python.languageServer": "Pylance",
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--skip-string-normalization",
"--line-length=120"
],
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"--max-line-length=120"
],
"terminal.integrated.shellArgs.windows": ["-ExecutionPolicy", "Bypass"]
"editor.formatOnSave": true
Settings.json
{
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "One Dark Pro",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.languageServer": "Pylance",
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--skip-string-normalization",
"--line-length=120"
],
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"--max-line-length=120"
],
"terminal.integrated.shellArgs.windows": ["-ExecutionPolicy", "Bypass"],
"editor.formatOnSave": true,
}
Tum ayarlar tamamlandi. Python projesi acarak 'black' ve 'flake8' paketlerini kuruyoruz. VSCode > Terminal - black8 kurulumu.
pipenv install --dev --pre black
pipenv install --dev flake8