From b21fdac20973e4b66b9e933aef86dd34328bc39b Mon Sep 17 00:00:00 2001 From: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com> Date: Wed, 5 Mar 2025 15:32:40 +0530 Subject: [PATCH] Update VSCode settings to resolve files named `script` as shell scripts (#2419) ## Why VSCode for me resolves `script` as YAML files showing incorrect syntax coloring. This setting forces VSCode to treat all files named `script` as shell scripts leading to better syntax highlighting. These files are common place in our acceptance tests. ## Tests Manually. --- .vscode/settings.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f8b04f126..f103538b7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -17,5 +17,8 @@ "python.envFile": "${workspaceRoot}/.env", "python.analysis.stubPath": ".vscode", "jupyter.interactiveWindow.cellMarker.codeRegex": "^# COMMAND ----------|^# Databricks notebook source|^(#\\s*%%|#\\s*\\|#\\s*In\\[\\d*?\\]|#\\s*In\\[ \\])", - "jupyter.interactiveWindow.cellMarker.default": "# COMMAND ----------" + "jupyter.interactiveWindow.cellMarker.default": "# COMMAND ----------", + "files.associations": { + "script": "shellscript" + } }