Rename add-on to Studio Code Server (#349)

This commit is contained in:
Franck Nijhof 2021-11-12 10:18:35 +01:00 committed by GitHub
parent 2b46cca6cb
commit 645fdbbe16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 25 additions and 29 deletions

View file

@ -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] [![GitHub Release][releases-shield]][releases]
![Project Stage][project-stage-shield] ![Project Stage][project-stage-shield]
@ -21,18 +21,16 @@
[![Support Frenck on Patreon][patreon-shield]][patreon] [![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 ## About
This add-on runs Visual Studio Code, allowing you to edit your Home Assistant This add-on runs [code-server](https://github.com/cdr/code-server), which
configuration directly from your web browser and can be embedded straight gives you a Visual Studio Code experience straight from the browser. It allows
into the Home Assistant frontend UI. you to edit your Home Assistant configuration directly from your web browser,
directly from within the Home Assistant frontend.
Visual Studio Code runs as a remote server using `code-server`, and is a
fully fledged VSCode experience.
The add-on has the Home Assistant, MDI icons and YAML extensions pre-installed 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 and pre-configured right out of the box. This means that auto-completion works

View file

@ -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 and pre-configured right out of the box. This means that auto-completion works
instantly, without the need for configuring anything. 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" %} {% if channel == "edge" %}
## WARNING! THIS IS AN EDGE VERSION! ## WARNING! THIS IS AN EDGE VERSION!

View file

@ -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 This add-on runs [code-server](https://github.com/cdr/code-server), which
configuration directly from your web browser and can be embedded straight gives you a Visual Studio Code experience straight from the browser. It allows
into the Home Assistant frontend UI. you to edit your Home Assistant configuration directly from your web browser,
directly from within the Home Assistant frontend.
Visual Studio Code runs as a remote server using `code-server`, and is a
fully fledged VSCode experience.
The add-on has the Home Assistant, MDI icons and YAML extensions pre-installed 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 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 The installation of this add-on is pretty straightforward and not different in
comparison to installing any other Home Assistant add-on. 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. and install it.
1. Start the "Visual Studio Code" add-on. 1. Start the "Studio Code Server" add-on.
1. Check the logs of the "Visual Studio Code" add-on to see if everything went 1. Check the logs of the "Studio Code Server" add-on to see if everything went
well. 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 ## Configuration

View file

@ -1,8 +1,8 @@
--- ---
name: Visual Studio Code name: Studio Code Server
version: dev version: dev
slug: vscode 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 url: https://github.com/hassio-addons/addon-vscode
ingress: true ingress: true
ingress_port: 1337 ingress_port: 1337

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

View file

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bashio #!/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. # Sets up code-server.
# ============================================================================== # ==============================================================================
declare config_path declare config_path

View file

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bashio #!/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 # Pre-configures the Mosquitto clients, if the service is available
# ============================================================================== # ==============================================================================
declare host declare host

View file

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bashio #!/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 # Pre-configures the MySQL clients, if the service is available
# ============================================================================== # ==============================================================================
declare host declare host

View file

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bashio #!/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. # Persists user settings and installs custom user packages.
# ============================================================================== # ==============================================================================
readonly -a DIRECTORIES=(addons backup config media share ssl) readonly -a DIRECTORIES=(addons backup config media share ssl)

View file

@ -1,6 +1,6 @@
#!/usr/bin/execlineb -S0 #!/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 # Take down the S6 supervision tree when the code server fails
# ============================================================================== # ==============================================================================
if { s6-test ${1} -ne 0 } if { s6-test ${1} -ne 0 }

View file

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bashio #!/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 # Runs the code server
# ============================================================================== # ==============================================================================
declare -a options declare -a options