facebookresearch / hydra

Hydra is a framework for elegantly configuring complex applications
https://hydra.cc
MIT License
8.84k stars 637 forks source link

[Feature Request] VS Code Hydra Config File Navigation #2991

Open vladjohnson opened 6 days ago

vladjohnson commented 6 days ago

🚀 Feature Request

Navigation mechanism for VS Code that allows to "go to definition" within any Hydra config. For instance, if it contains a Python class MyClass, I would be able to open it right away.

Motivation

It requires a lot of manual effort to navigate multiple codebases. Automating this aspect is helpful

Pitch

Describe the solution you'd like Explained above.

Describe alternatives you've considered Existing VS Code extensions do not work properly.

Are you willing to open a pull request? (See CONTRIBUTING) N/A.

Additional context

N/A.

mhyatt000 commented 5 days ago

Not a maintainer, but doesn't this feature already exist if you use strongly typed configs in python? https://hydra.cc/docs/1.3/tutorials/structured_config/config_store/

vladjohnson commented 4 days ago

@mhyatt000 will look into this. Thanks!