Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support .tofu files extension with .tf files for modules authors #102

Open
1 task
dthauvin opened this issue Oct 1, 2024 · 1 comment
Open
1 task
Labels
enhancement New feature or request

Comments

@dthauvin
Copy link

dthauvin commented Oct 1, 2024

Extension Version

v0.2.1

Problem Statement

Hi

i'am wondering if the "vscode-opentofu" already support .tofu files extension . Since Opentofu 1.8 we can now have both .tf and .tofu extension in the same directory for modules authors . https://opentofu.org/docs/intro/whats-new/#override-files-for-opentofu-keeping-compatibility

Expected User Experience

Would be amazing to add .tofu files extension and support all features equally as .tf files extension .

Proposal

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@dthauvin dthauvin added the enhancement New feature or request label Oct 1, 2024
@gamunu
Copy link
Owner

gamunu commented Feb 7, 2025

@dthauvin This is a limitation of the language server for OpenTofu. I'm working on a fix, but at the moment the language server has a dependency on the Terraform registry for schema generation, and there's no OpenTofu API that I can use to do the same. I've been struggling to get it fixed.

gamunu/opentofu-ls#17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants