dpayne / CodeGPT.nvim

CodeGPT is a plugin for neovim that provides commands to interact with ChatGPT.
GNU General Public License v3.0
764 stars 50 forks source link

Feature: automatically pull token definitions in the codebase into the context when the token is selected. #51

Closed nmnduy closed 5 months ago

nmnduy commented 6 months ago

It would be nice to have the class/function, etc. definitions pulled into the context when we select some code.

Features:

Additional thoughts:

dpayne commented 5 months ago

This would require a lot of work and I am not sure it makes sense in this plug. The goal here was something fairly simple.

It would make sense to integrate as part of something larger that is already parsing the code (e.g. coc.nvim).