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

Add entire file to context when no text is selected #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Fryingpannn
Copy link

@Fryingpannn Fryingpannn commented Oct 9, 2024

Handles empty selection case
Calls addEntireFileToContext function
Improves user experience
Maintains existing functionality

*Edit by Pan:
We need this on the UI! Instead of directly just inserted in the background. Indicate that current file is tagged already. And user can press X on it to remove it as well. Maybe on top of the chatbox prompt location, all the context can be indicated there.

Description ✏️

Added addEntireFileToContext to addHighlightedCodeToContext when nothing is selected.

Slightly faster than Ctrl -L , option+enter
allows to start typing with the file

Checklist ✅

  • I have added screenshots (if UI changes are present).
  • I have done a self-review of my code.
  • I have manually tested my code (if applicable).

by amovfx

Handles empty selection case
Calls addEntireFileToContext function
Improves user experience
Maintains existing functionality
@Fryingpannn
Copy link
Author

nang-dev pushed a commit that referenced this pull request Oct 22, 2024
* Draft #1 on updating welcome.md file

* Draft #2 of welcome.md: deleted a few shortcuts, put shortcuts in table format, and made tutorial line pop out more using bold and font size.

* fixed wrong shortcut display

* Update extensions/vscode/media/welcome.md

---------

Co-authored-by: Duke Pan <[email protected]>
nang-dev pushed a commit that referenced this pull request Oct 22, 2024
…ev#118)

* Draft #1 on updating welcome.md file

* Draft #2 of welcome.md: deleted a few shortcuts, put shortcuts in table format, and made tutorial line pop out more using bold and font size.

* fixed wrong shortcut display

* Update extensions/vscode/media/welcome.md

* did issue continuedev#214

---------

Co-authored-by: Duke Pan <[email protected]>
@nang-dev nang-dev requested review from a team as code owners October 23, 2024 02:55
@Fryingpannn
Copy link
Author

We need this on the UI! Instead of directly just inserted in the background. Indicate that current file is tagged already. And user can press X on it to remove it as well. Maybe on top of the chatbox prompt location, all the context can be indicated there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant