Reputation: 174
I recently installed the dbt power user extension and followed the configuration instructions, which included adding
"files.associations": {
"*.sql": "jinja-sql"
}
, and making the Python interpreter selection always visible. It used to function perfectly, and I could view model graph visualisation, etc., but it no longer does. I haven't made any changes. I tried reinstalling the extension, clearing cache, restarting, and experimenting with different settings, but nothing worked. It appears that the extension is not working because I see it cannot detect ref function or source definition, and there is no model graph or visualisation. I am unable to generate models from source definitions or run models via the buttons. Any assistance is greatly appreciated.
Upvotes: 2
Views: 5810
Reputation: 1
You can run the 'dbt debug' command and see if there are any issues in the environment.
If nothing helps, just create a bug in the GitHub repo for the extension - https://github.com/AltimateAI/vscode-dbt-power-user looks like it's actively developed and maintained.
Upvotes: -1