mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
changed code-server config
This commit is contained in:
parent
efae2ac145
commit
8f9e5826b8
4 changed files with 1 additions and 107 deletions
|
@ -65,7 +65,6 @@ RUN if [ "${BUILD_ARCH}" = "aarch64" ]; then HA_CLI_URL="https://github.com/home
|
|||
COPY rootfs /
|
||||
RUN chown -R root:root /root
|
||||
|
||||
|
||||
# Install Oh My ZSH
|
||||
# hadolint ignore=SC2086
|
||||
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" \
|
||||
|
|
|
@ -25,7 +25,7 @@ readonly -a PREVIOUS_DEFAULT_CONFIG_HASHES=(
|
|||
)
|
||||
|
||||
readonly DEFAULT_FILES_PATH="/usr/lib/code-server/defaults"
|
||||
readonly DEFAULT_CONFIG_PATH="/config/addons_config/vscode"
|
||||
readonly DEFAULT_CONFIG_PATH="/config/addons_config/"
|
||||
readonly CODE_SERVER_CONFIG="/root/.config/code-server/config.yaml"
|
||||
|
||||
# Ensure config path exists
|
||||
|
|
|
@ -1,99 +0,0 @@
|
|||
{
|
||||
"files.associations": {
|
||||
"*.dash": "yaml",
|
||||
"**/esphome/*.yaml": "esphome",
|
||||
"**/esphome/**/*.yaml": "esphome",
|
||||
"*.yaml": "home-assistant"
|
||||
},
|
||||
"files.watcherExclude": {
|
||||
".nfs**": true,
|
||||
".Trash-0/**": true,
|
||||
"**/__pycache__/**": true,
|
||||
"**/._*": true,
|
||||
"**/.cloud": true,
|
||||
"**/.git/objects/**": true,
|
||||
"**/.git/subtree-cache/**": true,
|
||||
"**/.HA_VERSION": true,
|
||||
"**/.storage": true,
|
||||
"**/*.db-shm": true,
|
||||
"**/*.db-wal": true,
|
||||
"**/*.db": true,
|
||||
"**/*.log": true,
|
||||
"**/deps/**": true,
|
||||
"**/node_modules": true,
|
||||
"**/OZW_Log.txt": true,
|
||||
"**/pyozw.sqlite": true
|
||||
},
|
||||
"search.exclude": {
|
||||
".Trash-0/**": true,
|
||||
"**/__pycache__/**": true,
|
||||
"**/._*": true,
|
||||
"**/.cloud": true,
|
||||
"**/.git/objects/**": true,
|
||||
"**/.git/subtree-cache/**": true,
|
||||
"**/.git": true,
|
||||
"**/.HA_VERSION": true,
|
||||
"**/.storage": true,
|
||||
"**/*.db-shm": true,
|
||||
"**/*.db-wal": true,
|
||||
"**/*.db": true,
|
||||
"**/*.log": true,
|
||||
"**/deps/**": true,
|
||||
"**/node_modules": true,
|
||||
"**/OZW_Log.txt": true,
|
||||
"**/pyozw.sqlite": true
|
||||
},
|
||||
"files.exclude": {
|
||||
".Trash-0/**": true,
|
||||
"**/__pycache__": true,
|
||||
"**/.cloud": true,
|
||||
"**/.DS_Store": true,
|
||||
"**/.git": true,
|
||||
"**/.HA_VERSION": true,
|
||||
"**/.storage": true,
|
||||
"**/*.db-shm": true,
|
||||
"**/*.db-wal": true,
|
||||
"**/*.db": true,
|
||||
"**/deps/**": true,
|
||||
"**/node_modules": true
|
||||
},
|
||||
"yaml.customTags": [
|
||||
"!env_var scalar",
|
||||
"!include_dir_list scalar",
|
||||
"!include_dir_merge_list scalar",
|
||||
"!include_dir_merge_named scalar",
|
||||
"!include_dir_named scalar",
|
||||
"!include scalar",
|
||||
"!secret scalar"
|
||||
],
|
||||
"[yaml]": {
|
||||
"editor.autoIndent": "full",
|
||||
"editor.insertSpaces": true,
|
||||
"editor.tabSize": 2,
|
||||
"editor.quickSuggestions": {
|
||||
"other": true,
|
||||
"comments": false,
|
||||
"strings": true
|
||||
}
|
||||
},
|
||||
"[home-assistant]": {
|
||||
"editor.autoIndent": "full",
|
||||
"editor.insertSpaces": true,
|
||||
"editor.tabSize": 2,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnPaste": true
|
||||
},
|
||||
"editor.renderWhitespace": "boundary",
|
||||
"esphome.validator": "local",
|
||||
"telemetry.enableTelemetry": false,
|
||||
"terminal.integrated.copyOnSelection": true,
|
||||
"terminal.integrated.shell.linux": "/usr/bin/zsh",
|
||||
"update.mode": "none",
|
||||
"vsicons.dontShowNewVersionMessage": true,
|
||||
"vsicons.projectDetection.disableDetect": true,
|
||||
"workbench.iconTheme": "vs-seti",
|
||||
"yaml.format.enable": true,
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.rulers": [80, 88, 100, 120]
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"rootWorkspaces": [],
|
||||
"folderURIWorkspaces": [],
|
||||
"emptyWorkspaceInfos": [],
|
||||
"emptyWorkspaces": []
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue