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

Feature request: Show model and field documentation on hover

Open thomasaarholt opened this issue 3 years ago • 2 comments

It would be great if this extension extracted the model description and showed it in a python-docstring-like manner on hover (or cmd + shift + space). Data types would be great too, if available.

Further, it would be great if this could apply to model columns as well, but I'm unsure if the extension is aware of which words in the model sql file are columns and which are not.

I'm happy to contribute in any way. From what I gather, dbt-power-user doesn't use the dbt python api, only calls command line arguments. Is that correct?

thomasaarholt avatar Jan 23 '22 11:01 thomasaarholt

The extension would definitely benefit from some more focus on documentation related features.

mdesmet avatar Oct 28 '22 21:10 mdesmet

explore https://www.npmjs.com/package/node-sql-parser

anandgupta42 avatar Dec 01 '23 21:12 anandgupta42