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

feat: add quick code snippet referencing in prompts #690

Merged

Conversation

carlrobertoh
Copy link
Owner

@carlrobertoh carlrobertoh commented Sep 10, 2024

This PR introduces a quick way of referencing code snippets in your chat window's prompt input field.

The selected code can be included in the prompt via:

  • Main editor context menu
option_1
  • Highlighted code floating toolbar
option_2
  • Keyboard shortcuts:
    • Windows: CTRL + SHIFT + I
    • macOS: CMD + SHIFT + I
quick-referencing.mov

@carlrobertoh carlrobertoh merged commit 6641daf into master Sep 10, 2024
2 checks passed
carlrobertoh added a commit that referenced this pull request Sep 11, 2024
* feat: ability to include cone snippets in prompt text field

* refactor: revert changes

* refactor: improve main editor actions group configuration

* refactor: clean up

* refactor: improve editor actions keymap

* fix: inlay casting

* refactor: consolidate labels
carlrobertoh added a commit that referenced this pull request Sep 11, 2024
* feat: ability to include cone snippets in prompt text field

* refactor: revert changes

* refactor: improve main editor actions group configuration

* refactor: clean up

* refactor: improve editor actions keymap

* fix: inlay casting

* refactor: consolidate labels
@carlrobertoh carlrobertoh deleted the feat/support-attaching-code-snippets-in-chat-context branch November 7, 2024 10:12
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