🎉 Release of add-on Visual Studio Code 2.6.0

This commit is contained in:
Community Hass.io Add-ons Bot 2020-09-15 09:00:28 +00:00
parent 0118ab5696
commit 40a06f068a
5 changed files with 33 additions and 28 deletions

View file

@ -1171,10 +1171,10 @@ SOFTWARE.
[unifi-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg
[unifi-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
[unifi-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg
[addon-vscode]: https://github.com/hassio-addons/addon-vscode/tree/v2.5.0
[addon-doc-vscode]: https://github.com/hassio-addons/addon-vscode/blob/v2.5.0/README.md
[addon-vscode]: https://github.com/hassio-addons/addon-vscode/tree/v2.6.0
[addon-doc-vscode]: https://github.com/hassio-addons/addon-vscode/blob/v2.6.0/README.md
[vscode-issue]: https://github.com/hassio-addons/addon-vscode/issues
[vscode-version-shield]: https://img.shields.io/badge/version-v2.5.0-blue.svg
[vscode-version-shield]: https://img.shields.io/badge/version-v2.6.0-blue.svg
[vscode-pulls-shield]: https://img.shields.io/docker/pulls/hassioaddons/vscode-amd64.svg
[vscode-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[vscode-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg

View file

@ -1,20 +1,14 @@
[Full Changelog][changelog]
This release upgrades all main parts of the add-on, including a new code-server/vscode and an updated extension for Home Assistant; Ready for the features in the upcoming Home Assistant 0.115! 🥳
This release adds support to access the new media folder and adds the possibility the configure an alternative configuration path (not `/config`) for the editor to start in (see add-on documentation).
### 🔨 Changes
- ⬆ Upgrades add-on base image to v3.2.2
- ⬆ Upgrades mariadb-client to 1:10.3.23-0+deb10u1
- ⬆ Upgrades nmap to 7.70+dfsg1-6+deb10u1
- ⬆ Upgrades code-server to 3.5.0
- ⬆ Upgrades redhat.vscode-yaml to 0.10.1
- ⬆ Upgrades usernamehw.errorlens to 3.2.1
- ⬆ Upgrades Home Assistant CLI to v4.4.1
- ⬆ Upgrades keesschollaart.vscode-home-assistant to 1.9.0
- ✨ Add symlink from code to code-server for natrual use
- ✨ Add support for the new media folder
- ✨ Add support for setting the default configuration path
- 👕 Fix shellcheck linter warning
[changelog]: https://github.com/hassio-addons/addon-vscode/compare/v2.4.0...v2.5.0
[changelog]: https://github.com/hassio-addons/addon-vscode/compare/v2.5.0...v2.6.0
Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work:

View file

@ -31,6 +31,7 @@ Example add-on configuration:
```yaml
log_level: info
config_path: /share/my_path
packages:
- mariadb-client
init_commands:
@ -49,7 +50,7 @@ dealing with an unknown issue. Possible values are:
- `debug`: Shows detailed debug information.
- `info`: Normal (usually) interesting events.
- `warning`: Exceptional occurrences that are not errors.
- `error`: Runtime errors that do not require immediate action.
- `error`: Runtime errors that do not require immediate action.
- `fatal`: Something went terribly wrong. Add-on becomes unusable.
Please note that each level automatically includes log messages from a
@ -57,6 +58,14 @@ more severe level, e.g., `debug` also shows `info` messages. By default,
the `log_level` is set to `info`, which is the recommended setting unless
you are troubleshooting.
### Option: `config_path`
This option allows you to override the default path the add-on will open
when accessing the web interface. For example, use a different
configuration directory like `/share/myconfig` instead of `/config`.
When not configured, the addon will automatically use the default: `/config`
### Option: `packages`
Allows you to specify additional [Ubuntu packages][ubuntu-packages] to be
@ -128,13 +137,13 @@ will come up with a better solution for this 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 cog 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:
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 cog 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#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc>
<https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc>
## Changelog & Releases
@ -143,12 +152,12 @@ functionality. The format of the log is based on
[Keep a Changelog][keepchangelog].
Releases are based on [Semantic Versioning][semver], and use the format
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
of `MAJOR.MINOR.PATCH`. In a nutshell, the version will be incremented
based on the following:
- ``MAJOR``: Incompatible or major changes.
- ``MINOR``: Backwards-compatible new features and enhancements.
- ``PATCH``: Backwards-compatible bugfixes and package updates.
- `MAJOR`: Incompatible or major changes.
- `MINOR`: Backwards-compatible new features and enhancements.
- `PATCH`: Backwards-compatible bugfixes and package updates.
## Support

View file

@ -51,6 +51,6 @@ If you are more interested in stable releases of our add-ons:
[patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png
[patreon]: https://www.patreon.com/frenck
[project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg
[release-shield]: https://img.shields.io/badge/version-v2.5.0-blue.svg
[release]: https://github.com/hassio-addons/addon-vscode/tree/v2.5.0
[release-shield]: https://img.shields.io/badge/version-v2.6.0-blue.svg
[release]: https://github.com/hassio-addons/addon-vscode/tree/v2.6.0
[screenshot]: https://github.com/hassio-addons/addon-vscode/raw/master/images/screenshot.png

View file

@ -1,6 +1,6 @@
{
"name": "Visual Studio Code",
"version": "2.5.0",
"version": "2.6.0",
"slug": "vscode",
"description": "Fully featured VSCode experience, to edit your HA config in the browser, including auto-completion!",
"url": "https://github.com/hassio-addons/addon-vscode",
@ -22,6 +22,7 @@
"config:rw",
"ssl:rw",
"addons:rw",
"media:rw",
"share:rw",
"backup:rw"
],
@ -35,6 +36,7 @@
},
"schema": {
"log_level": "list(trace|debug|info|notice|warning|error|fatal)?",
"config_path": "str?",
"packages": [
"str"
],