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]
![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

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
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!

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
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

View file

@ -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

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
# ==============================================================================
# Home Assistant Community Add-on: Visual Studio Code
# Home Assistant Community Add-on: Studio Code Server
# Sets up code-server.
# ==============================================================================
declare config_path

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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 }

View file

@ -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