Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong indent in VSCode when pasting code snippets #70

Open
tsaG1337 opened this issue Jan 4, 2023 · 0 comments
Open

Wrong indent in VSCode when pasting code snippets #70

tsaG1337 opened this issue Jan 4, 2023 · 0 comments

Comments

@tsaG1337
Copy link

tsaG1337 commented Jan 4, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant