Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a new file icon for the Stacks language which will apply to all tfstack.hcl and tfdeploy.hcl files. This is a new icon for several reasons: - The existing icon is not provided by HashiCorp, it is from the default VS Code icon theme Seti and releases to it are delivered in VS Code releases. - We cannot reference it in our extension manifest, so we need to provide our own. - We cannot override the Seti theme, [VS Code does not allow this](https://code.visualstudio.com/api/extension-guides/file-icon-theme#language-default-icons) and replace it. Since this is not something we can control, we are providing our own icon to ensure we can deliver a consistent experience to our users. To solve this a new icon was created that is similar in shape and size to the existing Seti Terraform icon and uses the Seti purple color. This ensures it is visually similar to the existing icon, which is important when the user is looking at Stack files and Terraform files in the same workspace. The one flaw is that the existing Terraform icon is slightly misaligned in the Seti theme, so any icon we provide looks slightly off. This is a [known issue](microsoft/vscode#154492) and is not something we can fix. We could try to get the Seti icon updated, but that would require a PR to the Seti theme and a release of that theme. The Seti project does not accept new file icons lightly and does not release frequently. In addition to consume their release requires a VS Code release. There would be a long indeterminate time between submitting a new icon and a user finally seeing a correct Stacks icon.
- Loading branch information