question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make Terraform extension available in "browser mode"

See original GitHub issue

Problem Statement

GitHub employees and other users use VS Code in the browser for various reasons. This extension currently isn’t available for them.

Example https://github.dev/hashicorp/terraform-guides

Screenshot 2021-09-14 at 10 56 15

Expected User Experience

Extension is available to assist users in editing Terraform code in their browser, the same way as in desktop VS Code.

For example at https://vscode.dev/ or https://github.dev/

Proposal

https://code.visualstudio.com/docs/remote/codespaces#_why-is-an-extension-not-installable-in-the-browser

There is some documentation here: https://code.visualstudio.com/api/extension-guides/web-extensions

We could initially provide just a minimal extension for the web - e.g. with syntax highlighting only.

  • Investigate impact on telemetry logic
  • Investigate replacing of esbuild with webpack
  • Create browser entrypoint and link it from package.json per docs, e.g. "browser": "./dist/web/extension.js",

Longer-term we’d need to find out if there’s any way or benefit from running LS in the browser - either via WASM or GopherJS.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:16
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jpograncommented, Nov 14, 2022

I am exceedingly happy to announce, that as of v2.25.0, we now work in github.dev and vscode.dev in the browser!

0reactions
radeksimkocommented, Dec 2, 2022

As mentioned, we provide a basic web version of the extension from v2.25.0, therefore I am going to close this issue. I have however created a separate one in https://github.com/hashicorp/vscode-terraform/issues/1287 to track possible future enhancements in this area. Comments are welcomed there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HOW TO INSTALL TERRAFORM EXTENSION ON VS CODE
Chapters. View all · Go to Extensions tab · Go to Extensions tab · Go to Extensions tab · Search for Terraform in...
Read more >
HashiCorp Terraform - Visual Studio Marketplace
Extension for Visual Studio Code - Syntax highlighting and autocompletion for Terraform.
Read more >
Install the Azure Terraform Visual Studio Code extension
Learn how to install and use the Azure Terraform Visual Studio Code extension to create an Azure resource group.
Read more >
Install and Config - Terraform Enterprise - HashiCorp Developer
If your installation requires using a proxy server, you will be asked for the proxy server information when you first run the installer...
Read more >
How to manage Terraform state - Gruntwork Blog
A guide to file layout, isolation, and locking for Terraform projects ... When making changes to your infrastructure, it's a best practice to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found