#Astro VSCode extension / editing .astro files

1 messages ยท Page 1 of 1 (latest)

latent sequoia
#

I am just starting to learn Astro, please forgive my ignorance. With the Astro vscode extension enabled, when I try to work in .astro files my backspace and enter keys do not function correctly and I have no idea how to fix this. The backspace only moves the cursor back. The enter button only moves the cursor down. Neither do anything to the content of the file.

Is this a common issue? Anyone know how to sort this out?

Thank you!

echo timber
#

You can try opening the command palette (usually ctrl + p or cmd + p) and run "reload window"

Or just restart VSC completely and see if that helps

Sounds like just weird editor behavior

latent sequoia
#

Thank you, but that's exactly what I've been attempting.... over and over again ๐Ÿ˜ฆ

latent sequoia
#

... but, what has worked is disabling all my extensions followed by re-enabling the Astro extension. That has works, it's all looking good. ๐ŸŽ†

boreal kiln
#

The Astro extension can be a bit clunky, but it all ends up working ๐Ÿ˜„
Make sure you have the prettier astro plugin too, if you use prettier.

echo timber
slim stirrup
#

If you're using the Astro VSCode extension and have prettier configured and working already, you do not need the prettier-astro-plugin because it is already included in the Astro extension.

boreal kiln