-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
bugSomething isn't workingSomething isn't workingvscePertains to the VS Code Extension / Language ServerPertains to the VS Code Extension / Language Server
Description
The VSCE can successfully compile a project without errors.
However, after compiling, I expected that I could click "Compile File" for a package model, but couldn't even though I could navigate to the compiled file in the target/compiled directory.
I suspect there's some funny business with the package model resource path
model path relative to dbt project
dbt_packages/hubspot/models/staging/tmp/stg_hubspot__contact_tmp.sql
compiled model path
target/compiled/models/staging/tmp/stg_hubspot__contact_tmp.sql
perhaps VSCE is looking for a non-existent path that includes dbt_packages/hubspot/, but that path doesn't exist because all compiled package models are thrown into the same models/ directory?
/*
* ⚠️ Stale file
* Compilation completed, but this file was not updated.
* Try checking the Problems tab or running `dbt compile` in the terminal.
*/

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingvscePertains to the VS Code Extension / Language ServerPertains to the VS Code Extension / Language Server