Refactor: Change file type appearance within editor #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changed?
Changed the file type description to something that is more idiomatic to JetBrains IDE. Additionally, replaced the SVG image for the templ logo to better reflect the identity of the file at a glance.
Why the change?
The previous file type description was challenging to spot in the menu quickly, lacking clarity on the language it is related to (templ). Similarly, the previous image, while not entirely unclear, lacked personalization to the templ language, possibly causing confusion around the generic "T" symbol.
Anything Else?
While "Templ template" isn't the best description of the file type, and may require further improvement, it should be more clearly understandable than it was before.
Alternatively, the description could also be changed to something that resembles what GoLand does for .gohtml (Go templates) file type, changing the description to "Go templ files", as well as potentially replacing the image with the Go Gopher and a templ logo in the bottom right corner.