hashicorp / vscode-hcl

HCL (HashiCorp Configuration Language) Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=HashiCorp.HCL
Mozilla Public License 2.0
44 stars 9 forks source link

Support HCL for Gitlab Web IDE #271

Closed mehdiMj-ir closed 11 months ago

mehdiMj-ir commented 11 months ago

Is there any chance for supporting hcl extension on Gitlab Web IDE?

radeksimko commented 11 months ago

Hi @mehdiMj-ir As far as I can tell, the GitLab Web IDE is based on VS Code, so the HCL extension should already be compatible.

The question is of course how can one install it. According to https://gitlab.com/gitlab-org/gitlab/-/issues/407455 it seems that GitLab does not allow Marketplace-based installations at this point and neither from vsix. I'm not aware of them maintaining another Marketplace of their own.

Once GitLab allows installation from vsix, our extension should be installable there. While we don't publish the vsix explicitly, it is available for download from the VSCode Marketplace:

https://marketplace.visualstudio.com/items?itemName=HashiCorp.HCL

Screenshot 2023-09-20 at 09 15 34

In terms of longer-term my own personal guess is that GitLab will avoid the official Marketplace for legal/licensing reasons. In case they go with open-vsx.org though, we publish our extension there as well, so it should work out of the box in such a scenario.

How they will actually let users discover and install extensions though is more up to GitLab, so there is nothing more we can do on our end at this point from what I can tell.