Open14
【VS Code】VSCode設定

dbt

BigQuery

Pytrhon

icon & Thema

markdown

etc..

VSCodeでプロジェクト単位の拡張機能を設定する

VSCode: ツリー構造のインデントを見やすくする方法
}
"workbench.colorCustomizations": {
"tree.indentGuidesStroke": "#ff0000"
},
"workbench.colorCustomizations": {
"editorIndentGuide.activeBackground": "#ff0000",
"editorIndentGuide.background": "#ffffff30"
}

VSCode でファイルを開いた際に常に新しいウィンドウで開く設定方法

vscode でマークダウン開く時にプレビューも同時に開く

dbtのアイコンをVScodeで設定する

material-icon-themeでレイヤーごとにフォルダーカラーを変更しているアイデア
// Material Icon Theme
"workbench.iconTheme": "material-icon-theme",
"material-icon-theme.activeIconPack": "angular",
"material-icon-theme.folders.customClones": [ // Clones de icones personalizados
{
"name": "dbt",
"base": "database",
"color": "red-500",
"lightColor": "red-500",
"folderNames": [
"dbt",
"dbt-project",
"northwind",
"dbt-northwind",
"dbt_northwind"
]
},
{
"name": "raw",
"base": "scripts",
"color": "gray-500",
"lightColor": "gray-500",
"folderNames": [
"raw"
]
},
{
"name": "stg",
"base": "scripts",
"color": "blue-500",
"lightColor": "blue-500",
"folderNames": [
"stg"
]
},
// {
// "name": "core",
// "base": "scripts",
// "color": "green-500",
// "lightColor": "green-500",
// "folderNames": ["core"]
// },
{
"name": "mart",
"base": "scripts",
"color": "yellow-500",
"lightColor": "yellow-500",
"folderNames": [
"mart"
]
},
{
"name": "analyses",
"base": "class",
"color": "blue-500",
"lightColor": "blue-500",
"folderNames": [
"analyses"
]
},
{
"name": "macros",
"base": "class",
"color": "amber-500",
"lightColor": "amber-500",
"folderNames": [
"macros"
]
},
],
"material-icon-theme.folders.associations": { // Associa nomes a icones do pacote
"src": "python",
"procedures": "server",
"sql_scripts": "scripts",
"output": "export",
"input": "import",
"requests": "download",
"postgres": "database",
"init-scripts": "scripts",
"data_tests": "test",
"dbt_packages": "packages",
"business_rules": "rules",
"dbt_utils": "utils",
"integration_tests": "test",
"schema_tests": "test",
"generic_tests": "test",
"geo": "layout",
"jinja_helpers": "jinja",
"datetime": "log",
"generic": "other",
"decisions": "rules",
"querys": "database",
"queries": "database",
"query": "database",
"modulos": "modules",
"tables": "content"
},
"material-icon-theme.files.associations": {
"docker-compose.yml": "docker",
//"**.yml": "yaml",
//"**.yaml": "yaml",
},
ログインするとコメントできます