Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using rpc for IDE funcionality #2313

Closed
aiguofer opened this issue Apr 10, 2020 · 2 comments
Closed

Using rpc for IDE funcionality #2313

aiguofer opened this issue Apr 10, 2020 · 2 comments
Labels
enhancement New feature or request rpc Issues related to dbt's RPC server

Comments

@aiguofer
Copy link
Contributor

Describe the feature

It would be great to have the ability to create a way for IDEs and editors to have enough knowledge about the code to be able to jump to definition or get documentation for a model, source, macro, etc. Based on some light reading about the rpc server, it seems like this could be a good place to expose the functionality so that an IDE/editor plugin can implement such functionality pretty easily.

Describe alternatives you've considered

Build an entirely separate project that uses the dbt python API to try to implement an RPC server for this specific purpose.

Who will this benefit?

I believe this would benefit everyone using dbt. It would be a great addition to the cloud IDE and to any other IDEs/editors that implement a plugin to leverage this. It would make it much easier to navigate and understand a project during development.

@aiguofer aiguofer added enhancement New feature or request triage labels Apr 10, 2020
@drewbanin drewbanin removed the triage label Apr 10, 2020
@drewbanin
Copy link
Contributor

Thanks for opening this issue @aiguofer! dbt currently produces a manifest that contains all of the information about a dbt project. You can view a sample manifest by doing a dbt compile and then checking out the target/manifest.json file!

We did just add support for returning the manifest in the rpc server (see here), but I think some more work is required to support the kinds of IDE interactions you're describing!

What kinds of other info do you think it would be helpful for the rpc server to serve up?

@jtcohen6 jtcohen6 added the rpc Issues related to dbt's RPC server label Jul 29, 2020
@jtcohen6
Copy link
Contributor

Going to close this one. The interactions envisioned here are quite compelling, and I imagine we'll find other ways to surface them :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rpc Issues related to dbt's RPC server
Projects
None yet
Development

No branches or pull requests

3 participants