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

Allow extension to be installed in container or remote #12

Open
bzuu opened this issue Sep 28, 2022 · 1 comment
Open

Allow extension to be installed in container or remote #12

bzuu opened this issue Sep 28, 2022 · 1 comment

Comments

@bzuu
Copy link

bzuu commented Sep 28, 2022

If you try to install the extension in vscode when running with a devcontainer, you only see the option Install Locally. It would be nice if the extension could be installed directly in the devcontainer so you have the right extensions installed when you open your devcontainer on a different machine.

I was able to enable the extension in my devcontainer by overriding the extensionKind in my settings.json like this:

"remote.extensionKind": {
    "phoenixframework.phoenix": [
        "workspace"
    ]
}

For more info see the vscode extension host docs.

@joddm
Copy link

joddm commented Jan 16, 2024

GitHub Codespaces:

I do not see the option to Install Locally, and the extension seems to be installing directly in the devcontainer, but I do not see the extension running under Developer: Show Running Extensions.

The syntax highlighter seems to work, but I do not get any HTML Intellisense/auto complete to work. It works when selecting regular HTML as file type.

Adding the remote.extensionKind to workspace as above does not seem to have any effect at all.

(I have the usual suspects in my settings.json file):

{
                "files.associations": {
                    "*.heex": "phoenix-heex"
                },
                "emmet.includeLanguages": {
                    "elixir": "html",
                    "phoenix-heex": "html"
                },
                "tailwindCSS.includeLanguages": {
                    "elixir": "html",
                    "phoenix-heex": "html"
                }
}

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

No branches or pull requests

2 participants