diff --git a/README.md b/README.md index ccbe0cf..fa20232 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Home Assistant Community Add-on: Visual Studio Code +# Home Assistant Community Add-on: Studio Code Server [![GitHub Release][releases-shield]][releases] ![Project Stage][project-stage-shield] @@ -21,18 +21,16 @@ [![Support Frenck on Patreon][patreon-shield]][patreon] -Visual Studio Code, accessible through the browser. +A VSCode experience, accessible through the browser. -![Visual Studio Code in the Home Assistant Frontend](images/screenshot.png) +![Studio Code Server in the Home Assistant Frontend](images/screenshot.png) ## About -This add-on runs Visual Studio Code, allowing you to edit your Home Assistant -configuration directly from your web browser and can be embedded straight -into the Home Assistant frontend UI. - -Visual Studio Code runs as a remote server using `code-server`, and is a -fully fledged VSCode experience. +This add-on runs [code-server](https://github.com/cdr/code-server), which +gives you a Visual Studio Code experience straight from the browser. It allows +you to edit your Home Assistant configuration directly from your web browser, +directly from within the Home Assistant frontend. The add-on has the Home Assistant, MDI icons and YAML extensions pre-installed and pre-configured right out of the box. This means that auto-completion works diff --git a/vscode/.README.j2 b/vscode/.README.j2 index 8d5bdf2..37536a2 100644 --- a/vscode/.README.j2 +++ b/vscode/.README.j2 @@ -23,7 +23,7 @@ The add-on has the Home Assistant, MDI icons and YAML extensions pre-installed and pre-configured right out of the box. This means that auto-completion works instantly, without the need for configuring anything. -![Visual Studio Code in the Home Assistant Frontend][screenshot] +![Studio Code Server in the Home Assistant Frontend][screenshot] {% if channel == "edge" %} ## WARNING! THIS IS AN EDGE VERSION! diff --git a/vscode/DOCS.md b/vscode/DOCS.md index 2fbe7c3..fd2e5b8 100644 --- a/vscode/DOCS.md +++ b/vscode/DOCS.md @@ -1,11 +1,9 @@ -# Home Assistant Community Add-on: Visual Studio Code +# Home Assistant Community Add-on: Studio Code Server -This add-on runs Visual Studio Code, allowing you to edit your Home Assistant -configuration directly from your web browser and can be embedded straight -into the Home Assistant frontend UI. - -Visual Studio Code runs as a remote server using `code-server`, and is a -fully fledged VSCode experience. +This add-on runs [code-server](https://github.com/cdr/code-server), which +gives you a Visual Studio Code experience straight from the browser. It allows +you to edit your Home Assistant configuration directly from your web browser, +directly from within the Home Assistant frontend. The add-on has the Home Assistant, MDI icons and YAML extensions pre-installed and pre-configured right out of the box. This means that auto-completion works @@ -16,12 +14,12 @@ instantly, without the need for configuring anything. The installation of this add-on is pretty straightforward and not different in comparison to installing any other Home Assistant add-on. -1. Search for the "Visual Studio Code" add-on in the Supervisor add-on store +1. Search for the "Studio Code Server" add-on in the Supervisor add-on store and install it. -1. Start the "Visual Studio Code" add-on. -1. Check the logs of the "Visual Studio Code" add-on to see if everything went +1. Start the "Studio Code Server" add-on. +1. Check the logs of the "Studio Code Server" add-on to see if everything went well. -1. Click the "OPEN WEB UI" button to open Visual Studio Code. +1. Click the "OPEN WEB UI" button to open Studio Code Server. ## Configuration diff --git a/vscode/config.yaml b/vscode/config.yaml index 653a293..0a95662 100644 --- a/vscode/config.yaml +++ b/vscode/config.yaml @@ -1,8 +1,8 @@ --- -name: Visual Studio Code +name: Studio Code Server version: dev slug: vscode -description: Fully featured VSCode experience, to edit your HA config in the browser, including auto-completion! +description: Fully featured Visual Studio Code (VSCode) experience integrated in the Home Assistant frontend. url: https://github.com/hassio-addons/addon-vscode ingress: true ingress_port: 1337 diff --git a/vscode/icon.png b/vscode/icon.png index b3225e4..e33d6ee 100644 Binary files a/vscode/icon.png and b/vscode/icon.png differ diff --git a/vscode/logo.png b/vscode/logo.png index 57a2ca2..e33d6ee 100644 Binary files a/vscode/logo.png and b/vscode/logo.png differ diff --git a/vscode/rootfs/etc/cont-init.d/code-server.sh b/vscode/rootfs/etc/cont-init.d/code-server.sh index 13d0e0d..bc58dab 100644 --- a/vscode/rootfs/etc/cont-init.d/code-server.sh +++ b/vscode/rootfs/etc/cont-init.d/code-server.sh @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Visual Studio Code +# Home Assistant Community Add-on: Studio Code Server # Sets up code-server. # ============================================================================== declare config_path diff --git a/vscode/rootfs/etc/cont-init.d/mosquitto.sh b/vscode/rootfs/etc/cont-init.d/mosquitto.sh index c853368..d89061a 100644 --- a/vscode/rootfs/etc/cont-init.d/mosquitto.sh +++ b/vscode/rootfs/etc/cont-init.d/mosquitto.sh @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Visual Studio Code +# Home Assistant Community Add-on: Studio Code Server # Pre-configures the Mosquitto clients, if the service is available # ============================================================================== declare host diff --git a/vscode/rootfs/etc/cont-init.d/mysql.sh b/vscode/rootfs/etc/cont-init.d/mysql.sh index f70ba0b..03ce621 100644 --- a/vscode/rootfs/etc/cont-init.d/mysql.sh +++ b/vscode/rootfs/etc/cont-init.d/mysql.sh @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Visual Studio Code +# Home Assistant Community Add-on: Studio Code Server # Pre-configures the MySQL clients, if the service is available # ============================================================================== declare host diff --git a/vscode/rootfs/etc/cont-init.d/user.sh b/vscode/rootfs/etc/cont-init.d/user.sh index 8123e6a..b9b58bd 100644 --- a/vscode/rootfs/etc/cont-init.d/user.sh +++ b/vscode/rootfs/etc/cont-init.d/user.sh @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Visual Studio Code +# Home Assistant Community Add-on: Studio Code Server # Persists user settings and installs custom user packages. # ============================================================================== readonly -a DIRECTORIES=(addons backup config media share ssl) diff --git a/vscode/rootfs/etc/services.d/code/finish b/vscode/rootfs/etc/services.d/code/finish index 655c1fc..91b7c3e 100644 --- a/vscode/rootfs/etc/services.d/code/finish +++ b/vscode/rootfs/etc/services.d/code/finish @@ -1,6 +1,6 @@ #!/usr/bin/execlineb -S0 # ============================================================================== -# Home Assistant Community Add-on: Visual Studio Code +# Home Assistant Community Add-on: Studio Code Server # Take down the S6 supervision tree when the code server fails # ============================================================================== if { s6-test ${1} -ne 0 } diff --git a/vscode/rootfs/etc/services.d/code/run b/vscode/rootfs/etc/services.d/code/run index 820900b..09f5501 100644 --- a/vscode/rootfs/etc/services.d/code/run +++ b/vscode/rootfs/etc/services.d/code/run @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Visual Studio Code +# Home Assistant Community Add-on: Studio Code Server # Runs the code server # ============================================================================== declare -a options