Добавил превьюшки дхф и настройки сервера
All checks were successful
Deploy MES Core / deploy (push) Successful in 3m32s
All checks were successful
Deploy MES Core / deploy (push) Successful in 3m32s
This commit is contained in:
42
.vscode/settings.json
vendored
42
.vscode/settings.json
vendored
@@ -1,3 +1,43 @@
|
||||
{
|
||||
"python-envs.pythonProjects": []
|
||||
// --- ПИТОН И АВТОМАТИКА ---
|
||||
"python.analysis.typeCheckingMode": "basic", // Подсказки по типам данных
|
||||
"editor.formatOnSave": true, // Форматировать код при сохранении (маст-хэв!)
|
||||
"python.formatting.provider": "black", // Использовать Black для красоты кода
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports": "explicit" // Сам расставит импорты по алфавиту
|
||||
},
|
||||
|
||||
// --- DJANGO И HTML ---
|
||||
"files.associations": {
|
||||
"**/*.html": "django-html", // Чтобы VS Code понимал синтаксис {% if %}
|
||||
"**/templates/**/*.html": "django-html"
|
||||
},
|
||||
"emmet.includeLanguages": {
|
||||
"django-html": "html" // Чтобы Emmet (развертывание тегов через Tab) работал в шаблонах
|
||||
},
|
||||
|
||||
// --- ИНТЕРФЕЙС И КОМФОРТ ---
|
||||
"editor.bracketPairColorization.enabled": true, // Цветные скобочки (чтобы не путаться в вложенности)
|
||||
"editor.guide.bracketPairs": "active",
|
||||
"editor.fontSize": 14, // Подбери под свои глаза
|
||||
"editor.tabSize": 4,
|
||||
"editor.renderWhitespace": "boundary", // Видеть лишние пробелы в конце строк
|
||||
"files.autoSave": "onFocusChange", // Сохранять файл, когда переключаешься в браузер
|
||||
|
||||
// --- ЧИСТОТА В ПРОЕКТЕ ---
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/__pycache__": true, // Прячем мусорные папки питона
|
||||
"**/*.pyc": true,
|
||||
"**/node_modules": true,
|
||||
"**/.DS_Store": true
|
||||
},
|
||||
|
||||
// --- ТЕРМИНАЛ ---
|
||||
"terminal.integrated.fontSize": 13,
|
||||
"terminal.integrated.cursorStyle": "line",
|
||||
|
||||
// --- ГИТ ---
|
||||
"git.autofetch": true, // Проверять обновления в репозитории самостоятльно
|
||||
"git.confirmSync": false
|
||||
}
|
||||
Reference in New Issue
Block a user