trypear / pearai-app

PearAI: Open Source AI Code Editor (Fork of VSCode). The PearAI Submodule (https://github.com/trypear/pearai-submodule) is a fork of Continue.
https://trypear.ai
MIT License
229 stars 80 forks source link

Add entire file to context when no text is selected in submodule #81

Open nang-dev opened 2 weeks ago

nang-dev commented 2 weeks ago

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.

charlwillia6 commented 2 days ago

@nang-dev - This issue can be closed as we have implemented this. @PearIssueBot

charlwillia6 commented 1 day ago

Also, I have a fix for some of the issues with ActiveFileIndicator: https://github.com/trypear/pearai-submodule/pull/159