vscode-dbt-power-user icon indicating copy to clipboard operation
vscode-dbt-power-user copied to clipboard

add config for auto complete ref with ' over "

Open JackWolverson opened this issue 1 year ago • 3 comments

Describe the feature

when adding refs we use ' around the model name instead of " making the auto complete not 100% useful as we have to change the quotes every time

Describe alternatives you've considered

No response

Who will benefit?

No response

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

JackWolverson avatar Sep 26 '23 14:09 JackWolverson

@JackWolverson: ideally the code just picks up the single quotes or double quotes you typed and apply it automatically. No need for config. I think this has always been the intended behaviour.

Can you check and implement this behaviour?

mdesmet avatar Sep 28 '23 05:09 mdesmet

Chiming in because this is still desired functionality. As of 11/8 it's not picking up the use of single or double quotes and it's simply replacing all single quotes with doubles.

edwardofclt avatar Nov 08 '23 16:11 edwardofclt

I have a follow up question. Do you have sqlfmt installed? @JackWolverson @edwardofclt . you can try it out by typing sqlfmt in the terminal. if its installed its help command will display.

lionsardesai avatar Nov 15 '23 18:11 lionsardesai