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: More improvement to aider-prompt-mode.el #105

Merged
merged 33 commits into from
Mar 6, 2025
Merged

Feat: More improvement to aider-prompt-mode.el #105

merged 33 commits into from
Mar 6, 2025

Conversation

tninja
Copy link
Owner

@tninja tninja commented Mar 5, 2025

Adding couple of features to aider prompt file editing:

  1. C-c C-n aider-send-line-or-region will identify the source code file after that, and render the aider comint session buffer syntax highlight
  2. "/" key pressed in aider prompt file will help complete the aider command
  3. aider command highlight: green for safe / no-change command, red for change command
  4. /add, /read-only, /drop will automatically trigger filename completion. or use C-c C-i to trigger it manually. aider can identify filename in prompt and ask to add it to context
  5. more snippets, from https://github.com/PickleBoxer/dev-chatgpt-prompts

tninja and others added 30 commits March 3, 2025 23:00
refactor: Enhance extract-filename-from-command with file existence check

refactor: Add optional source-buffer parameter to aider-switch-to-buffer

refactor: Rename and improve extract-filename-from-command function

refactor: Extract send command logic into dedicated function

refactor: Modify line sending logic and add dedicated function for code syntax

refactor: Enhance aider--send-line-with-code-syntax to handle filename extraction and buffer switching
chore: Update aider commands in snippet files for consistency
@tninja tninja merged commit 4d17ab1 into main Mar 6, 2025
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