mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
📚 Improves README's
This commit is contained in:
parent
de8252b818
commit
37c837515a
2 changed files with 19 additions and 10 deletions
25
README.md
25
README.md
|
@ -26,14 +26,14 @@ Visual Studio Code, accessible through the browser.
|
||||||
## About
|
## About
|
||||||
|
|
||||||
This add-on runs Visual Studio Code, allowing you to edit your Home Assistant
|
This add-on runs Visual Studio Code, allowing you to edit your Home Assistant
|
||||||
configuration straight from the web browser and can be embeded straight
|
configuration straight from the web browser and can be embedded straight
|
||||||
into the Home Assistant frontend UI.
|
into the Home Assistant frontend UI.
|
||||||
|
|
||||||
Visual Studio Code runs as a remote server using `code-server`, and is a
|
Visual Studio Code runs as a remote server using `code-server`, and is a
|
||||||
fully fletched VSCode experience.
|
fully fletched VSCode experience.
|
||||||
|
|
||||||
The add-on has the Home Assistant and MDI icons extensions pre-installed
|
The add-on has the Home Assistant and MDI icons extensions pre-installed
|
||||||
and pre-configured right out of the box. This mean that auto completion works
|
and pre-configured right out of the box. This means that autocompletion works
|
||||||
instantly, without the need for configuring anything.
|
instantly, without the need for configuring anything.
|
||||||
|
|
||||||

|

|
||||||
|
@ -45,7 +45,7 @@ comparison to installing any other Hass.io add-on.
|
||||||
|
|
||||||
1. [Add our Hass.io add-ons repository][repository] to your Hass.io instance.
|
1. [Add our Hass.io add-ons repository][repository] to your Hass.io instance.
|
||||||
1. Install the "Visual Studio Code" add-on.
|
1. Install the "Visual Studio Code" add-on.
|
||||||
1. Configure a "password".
|
1. Configure a "password" in the add-on settings.
|
||||||
1. Start the "Visual Studio Code" add-on.
|
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. Check the logs of the "Visual Studio Code" add-on to see if everything went
|
||||||
well.
|
well.
|
||||||
|
@ -127,19 +127,19 @@ time for the add-on._
|
||||||
|
|
||||||
### Option: `init_commands`
|
### Option: `init_commands`
|
||||||
|
|
||||||
Customize your IDE environment even more with the `init_commands` option.
|
Customize your VSCode environment even more with the `init_commands` option.
|
||||||
Add one or more shell commands to the list, and they will be executed every
|
Add one or more shell commands to the list, and they will be executed every
|
||||||
single time this add-on starts.
|
single time this add-on starts.
|
||||||
|
|
||||||
### Option: `leave_front_door_open`
|
### Option: `leave_front_door_open`
|
||||||
|
|
||||||
Adding this option to the add-on configuration allows you to disable
|
Adding this option to the add-on configuration allows you to disable
|
||||||
authentication on the IDE by setting it to `true`.
|
authentication on the VSCode by setting it to `true`.
|
||||||
|
|
||||||
**Note**: _We STRONGLY suggest, not to use this, even if this add-on is
|
**Note**: _We STRONGLY suggest, not to use this, even if this add-on is
|
||||||
only exposed to your internal network. USE AT YOUR OWN RISK!_
|
only exposed to your internal network. USE AT YOUR OWN RISK!_
|
||||||
|
|
||||||
#### Option: `i_like_to_be_pwned`
|
### Option: `i_like_to_be_pwned`
|
||||||
|
|
||||||
Adding this option to the add-on configuration allows to you bypass the
|
Adding this option to the add-on configuration allows to you bypass the
|
||||||
HaveIBeenPwned password requirement by setting it to `true`.
|
HaveIBeenPwned password requirement by setting it to `true`.
|
||||||
|
@ -149,8 +149,8 @@ using this option! USE AT YOUR OWN RISK!_
|
||||||
|
|
||||||
## Embedding into Home Assistant
|
## Embedding into Home Assistant
|
||||||
|
|
||||||
It is possible to embed the IDE directly into Home Assistant, allowing
|
It is possible to embed VSCode directly into Home Assistant, allowing
|
||||||
you to access your IDE through the Home Assistant frontend.
|
you to access your VSCode through the Home Assistant frontend.
|
||||||
|
|
||||||
Home Assistant provides the `panel_iframe` component, for these purposes.
|
Home Assistant provides the `panel_iframe` component, for these purposes.
|
||||||
|
|
||||||
|
@ -168,6 +168,15 @@ panel_iframe:
|
||||||
|
|
||||||
- This add-on currently only supports AMD64 machines, we hope to be able
|
- This add-on currently only supports AMD64 machines, we hope to be able
|
||||||
to ship other architectures soon!
|
to ship other architectures soon!
|
||||||
|
- "Visual Studio Code is unable to watch for file changes in this large
|
||||||
|
workspace" (error ENOSPC)
|
||||||
|
This issue is caused by your system not having enough file handles,
|
||||||
|
which causes VSCode to be unable to watch all your files. For HassOS,
|
||||||
|
currently the only option is to click on the little gog when the
|
||||||
|
notification appears and tell it to not show again. In case you have
|
||||||
|
a generic Linux setup (e.g., Ubuntu), follow this guide by Microsoft:
|
||||||
|
<https://code.visualstudio.com/docs/setup/linux#_error-enospc>
|
||||||
|
|
||||||
|
|
||||||
## Changelog & Releases
|
## Changelog & Releases
|
||||||
|
|
||||||
|
|
|
@ -13,14 +13,14 @@ Visual Studio Code, accessible through the browser.
|
||||||
## About
|
## About
|
||||||
|
|
||||||
This add-on runs Visual Studio Code, allowing you to edit your Home Assistant
|
This add-on runs Visual Studio Code, allowing you to edit your Home Assistant
|
||||||
configuration straight from the web browser and can be embeded straight
|
configuration straight from the web browser and can be embedded straight
|
||||||
into the Home Assistant frontend UI.
|
into the Home Assistant frontend UI.
|
||||||
|
|
||||||
Visual Studio Code runs as a remote server using `code-server`, and is a
|
Visual Studio Code runs as a remote server using `code-server`, and is a
|
||||||
fully fletched VSCode experience.
|
fully fletched VSCode experience.
|
||||||
|
|
||||||
The add-on has the Home Assistant and MDI icons extensions pre-installed
|
The add-on has the Home Assistant and MDI icons extensions pre-installed
|
||||||
and pre-configured right out of the box. This mean that auto completion works
|
and pre-configured right out of the box. This means that autocompletion works
|
||||||
instantly, without the need for configuring anything.
|
instantly, without the need for configuring anything.
|
||||||
|
|
||||||
[Click here for the full documentation][docs]
|
[Click here for the full documentation][docs]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue