vscode-home-assistant
vscode-home-assistant copied to clipboard
Do not auto modify workspace config to take over yaml files
Please include the related YAML code:
"files.associations": {
"*.yaml": "home-assistant"
}
Find my Home Assistant Configuration here: Link to Home Assistant Configuration
Extension runs in:
- [X] VS Code for Desktop
- [ ] Hassio Add-on
- [ ] Visual Studio Online
- [ ] Other:
I'm running VS Code on:
- [x] Windows
- [] Mac
- [] Linux
I'm accessing my files:
- [] From local disk
- [x] Via remote SSH
- [ ] Smb
- [ ] Other:
Please do not automatically take over the yaml config in the workspace just because the extension is installed on the remote system, I will let the extension take over yaml as needed.
I run several projects on a remote linux host over SSH, the extension is installed on the host, when work on a project, that has nothing to do with HA, the extension appears to register itself in the workspace file, breaking vanilla yaml config. I manually remove the restration form he workspace, when I later open the workspace again, the config is back again, so I am assuming it is the HA extension that is self modifying the wrokspace.