Document setup for devcontainer
See original GitHub issueHello,
I have a simple dbt project inside a devcontainer (VSCode in a remote container) based on an ubuntu image.
On the opening of devcontainer, the vscode-dbt-power-user launches a terminal to run dbt list
and it runs successfully and prints all the nodes. But no functionality is added to
Details to reproduce the error :
- I am using Python 3.8.10 with dbt 1.1.1
- The
dbt debug
command shows no issues - The dbt project path is
/src
- This is the content of the
.devcontainer/devcontainer.json
:
{
"name": "dbt devcontainer",
"dockerComposeFile": "../docker-compose.yml",
"service": "dbt",
"workspaceFolder": "/src",
"shutdownAction": "stopCompose",
"extensions": [
"innoverio.vscode-dbt-power-user"
],
"settings": {
"files.associations": {
"*.sql": "jinja-sql"
}
}
}
I saw other issues related to this (for instance dbt shows connected but extension has zero functionality) but it didn’t show me a missing setting in my setup. Did I forget something ? Thank you for your help !
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Create a Dev Container - Visual Studio Code
Start with Dev Containers: Add Dev Container Configuration Files... in the Command Palette (F1). Edit the contents of the .devcontainer folder as required....
Read more >Introduction to dev containers - GitHub Docs
The primary file in a dev container configuration is the devcontainer.json file. You can use this file to determine the environment of codespaces...
Read more >Setting up a VS Code Dev Container - Ben Selby
Open your project in VS Code, and run the Command Palette (On the mac this is on the “View” menu or shift+command+p )....
Read more >Getting Started with Dev Containers - Microsoft Open Source
devcontainer directory. This directory is where configuration begins. A central artifact to the dev container definition is a configuration file ...
Read more >Dev Container metadata reference
The devcontainer.json file contains any needed metadata and settings required to configurate a development container for a given well-defined tool and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dataders I fixed this same issue by leaving out the python extension from my list of extensions in devcontainer.json (since the dbt power user extension is going to install the python one anyways). this is an issue with many other extensions, where VSCode doesn’t “merge” dependencies. nothing the authors of this one can do about it unfortunately
I’m also trying to get this to run in a codespace and am getting a related issue upon booting
When I look what extensions are installed, it says the Python extension is installed already…