Environment
- Platform: GitHub Codespaces
- dbt Power User version: [latest]
Problem
Autocompleting ref inserts extra curly braces and displays {{ {{ ref('my_model') }} }} instead of {{ ref('my_model') }}.
Expected behavior
Typing out {{ ref( or {{ ref(' triggers the modal to select an available model as expected, and inserts the ref correctly.
Actual behavior
Using the ref snippet autocomplete adds an extra pair of curly braces around the entire expression:
- Expected:
{{ ref('my_model') }}
- Actual:
{{ {{ ref('my_model') }} }}
Workaround
Type out {{ ref(' manually instead of using the ref snippet autocomplete.
Steps to reproduce
- Open a dbt model file in GitHub Codespaces
- Type
ref and select the snippet from autocomplete
- Select a model from the autocomplete list
- Observe extra curly braces wrapping the entire expression
Environment
Problem
Autocompleting
refinserts extra curly braces and displays{{ {{ ref('my_model') }} }}instead of{{ ref('my_model') }}.Expected behavior
Typing out
{{ ref(or{{ ref('triggers the modal to select an available model as expected, and inserts the ref correctly.Actual behavior
Using the
refsnippet autocomplete adds an extra pair of curly braces around the entire expression:{{ ref('my_model') }}{{ {{ ref('my_model') }} }}Workaround
Type out
{{ ref('manually instead of using therefsnippet autocomplete.Steps to reproduce
refand select the snippet from autocomplete