You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original PR by @amovfx
Handles empty selection case
Calls addEntireFileToContext function
Improves user experience
Maintains existing functionality
*Edit by Pan: Behaviour wanted
Clicking on a file should add the file tag to the chat. E.g., if I click on file pricing.tsx, then @pricing.tsx should appear in the chat prepended. Like below. And the context of that entire file would be prepended to the chat backend.
This, way it is non obstructive, and user also knows it is there directly.
When switching opened files, this current file tag would also change.
Description ✏️
Added addEntireFileToContext to addHighlightedCodeToContext when nothing is selected.
The text was updated successfully, but these errors were encountered:
nang-dev
changed the title
Add entire file to context when no text is selected
Add entire file to context when no text is selected in submodule
Oct 29, 2024
Original PR by @amovfx
Handles empty selection case
Calls addEntireFileToContext function
Improves user experience
Maintains existing functionality
*Edit by Pan:
Behaviour wanted
Description ✏️
Added addEntireFileToContext to addHighlightedCodeToContext when nothing is selected.
The text was updated successfully, but these errors were encountered: