Wrong indent in VSCode when pasting code snippets
tsaG1337 opened this issue · 0 comments
tsaG1337 commented
Hi,
When I copy the last two lines of the following code (to add another sensor for example)
binary_sensor:
- platform: template
name: open_endstop_binary_sensor
and past it below, the indentation is changed and now below the other indented code:
binary_sensor:
- platform: template
name: open_endstop_binary_sensor
- platform: template
name: open_endstop_binary_sensor
when I change "YAML" in the Editor instead of "ESPHOME" it indents correctly
binary_sensor:
- platform: template
name: open_endstop_binary_sensor
- platform: template
name: open_endstop_binary_sensor