Erika

Results 61 issues of Erika

## Changes Changesets was mysteriously destroying every Astro code block inside `CHANGELOG.md`. This happen because changesets Prettier version is very old and our plugin is not compatible. As such, this...

core

### Describe the Bug The plugin error out when trying to format an expression returning multiple roots, example: **Works** ```astro {["Astro"].map((hello) => ( Hello {hello} Wow {hello} ))} ``` **Doesn't...

bug

### What version of `@astrojs/compiler` are you using? N/A ### What package manager are you using? N/A ### What operating system are you using? N/A ### Describe the Bug It'd...

## Changes This adds some tests for the source maps generated when doing the TSX output. This also add a test for https://github.com/withastro/compiler/issues/461, though the "solution" in the test is...

#### What kind of changes does this PR include? - Something else! #### Description This adds our official Prettier plugin to the formatting setup the docs use and format Astro...

[Inside Astro's typing file](https://github.com/withastro/astro/blob/main/packages/astro/src/%40types/astro.ts), we have a lot of JSDoc comments that have links to the documentation. Those links are shown to users directly in their editors when they hover,...

site improvement

## Changes Big PR. This removes TypeScript as a direct dependency of the language server and instead load it dynamically from a initializing parameter. This unlock a lot of things:...

### Describe the Bug Some people like to configure their Prettier settings globally using the settings Prettier's VS Code extension offer. We should load those! ### Steps to Reproduce 1....

feature

### Describe the Bug The way the Astro Language Server does TypeScript support [is by first converting](https://github.com/withastro/language-tools/blob/main/docs/internal/language-server/plugins/typescript.md#tsx-generation) `.astro` files to TSX. This works nicely, however JSX has a few limitations...

bug
needs-compiler

### Describe the Bug Trying to use the shorthand syntax for props currently lead to an error, ex: ```astro ``` We should support this, especially since it's a possible formatting...

needs-compiler
feature