zed/assets/icons/file_icons/terraform.svg

7 lines
1.3 KiB
XML
Raw Normal View History

<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 2.6087C2.25 2.21883 2.67637 1.97896 3.00958 2.18136L5.1573 3.48594C5.30658 3.57662 5.39772 3.73862 5.39772 3.91328V6.56727C5.39772 6.95713 4.97135 7.19701 4.63814 6.99461L2.49042 5.69003C2.34114 5.59935 2.25 5.43735 2.25 5.26269V2.6087Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.37134 9.83874C6.37134 9.44888 6.79771 9.209 7.13092 9.4114L9.27863 10.716C9.42791 10.8067 9.51906 10.9687 9.51906 11.1433V13.7973C9.51906 14.1872 9.09269 14.4271 8.75948 14.2247L6.61176 12.9201C6.46248 12.8294 6.37134 12.6674 6.37134 12.4927V9.83874Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.37134 4.99645C6.37134 4.60659 6.79771 4.36672 7.13092 4.56912L9.27863 5.8737C9.42791 5.96437 9.51906 6.12638 9.51906 6.30104V8.95503C9.51906 9.34489 9.09269 9.58477 8.75948 9.38237L6.61176 8.07778C6.46248 7.98711 6.37134 7.82511 6.37134 7.65045V4.99645Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.7 4.99645C13.7 4.60659 13.2736 4.36672 12.9404 4.56912L10.7927 5.8737C10.6434 5.96437 10.5522 6.12638 10.5522 6.30104V8.95503C10.5522 9.34489 10.9786 9.58477 11.3118 9.38237L13.4595 8.07778C13.6088 7.98711 13.7 7.82511 13.7 7.65045V4.99645Z" fill="black"/>
Add language server for Terraform (#7657) * Depends on: https://github.com/zed-industries/zed/pull/7449 * Closes: https://github.com/zed-industries/zed/issues/5098 --- This PR adds support for downloading and running the Terraform language server for `*.tf` and `*.tfvars` files. I've verified that the code works for `aarch64` and `x86_64` macOS. Downloading new language server versions on release also works as expected. Furthermore this PR adds: - A short docs page for Terraform - An icon for `*.tf` and `*.tfvars` files ## UX ### File Icons ![CleanShot 2024-02-10 at 23 10 13@2x](https://github.com/zed-industries/zed/assets/45985/6f7cd4f0-e94c-4cfb-b3e9-64b0e33c8a43) ### Completion ![CleanShot 2024-02-13 at 20 54 15@2x](https://github.com/zed-industries/zed/assets/45985/18fafa3b-cb50-4f51-b071-ca9eee3521a6) ### Hover ![CleanShot 2024-02-13 at 20 53 40@2x](https://github.com/zed-industries/zed/assets/45985/4d215315-e019-4d3d-b23c-2691db1803e3) ### Go to definition ![2024-02-13 20 56 28](https://github.com/zed-industries/zed/assets/45985/c21d562f-eb0b-4df9-9175-c53b9923344e) ### Formatting ![2024-02-13 20 59 06](https://github.com/zed-industries/zed/assets/45985/0cdf4ec5-e231-4c8a-a257-cae30a8edc8b) and more! ## Known issue(s) @fdionisi discovered that sometimes completion results are inserted with the wrong indentation. Or rather, if you look closely, they are inserted with the correct indentation and then something shifts the closing `}`. I don't think this is related to LSP support and can be addressed in a separate PR. ![2024-02-13 20 58 16](https://github.com/zed-industries/zed/assets/45985/94a118dd-95f5-4e38-8f83-75fec7a0dddf) Release Notes: - Add language server support for Terraform ([#5098](https://github.com/zed-industries/zed/issues/5098)). --------- Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2024-02-27 01:08:49 +00:00
</svg>