Adds support for additional language IDs - terraform and terraform-vars - #102
Merged
Conversation
…rs to make integration with certain editors easier Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
Gogotchuri
marked this pull request as draft
July 21, 2025 14:20
Member
|
Interesting @Gogotchuri ! Are you testing with both extensions installed at the same time? |
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
Contributor
Author
I haven't done testing in VSCode, but if you could, that would be nice. I'm not sure this will solve the issue you are hinting at, but it avoids a lot of unnecessary complications in editor usage. |
Gogotchuri
marked this pull request as ready for review
July 22, 2025 10:10
10 tasks
diofeher
approved these changes
Jul 23, 2025
diofeher
left a comment
Member
There was a problem hiding this comment.
Great idea @Gogotchuri ! Thanks for implementing it :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This issue arose while I was working on the USAGE.md ( #48 ) rewrite and testing
tofu-lswith several different editors.To facilitate integration with a wide range of editors and IDEs, we add support for the language IDs: 'terraform' and 'terraform-vars'.
Remapping extensions and language names can be a bit cumbersome in some cases, and this change will eliminate the need for it.
In earlier iterations, we modified the language IDs to
opentofuandopentofu-vars. Now we extend the language server to accept the other pair too.Checklist
Go checklist