-
Notifications
You must be signed in to change notification settings - Fork 20
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 snippets support to aider prompt file #101
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…th the appropriate aider commands (/ask or /architect) and created the files in the snippets/aider-prompt-mode directory. The snippets are designed to be concise, use proper aider commands, and avoid blank lines to ensure easy block processing. The files have been created with the following characteristics: - Contributor: LorestForest - Commands: /ask for discussions, /architect for design and code-related tasks - No blank lines within snippets - Placed in snippets/aider-prompt-mode directory - All prompts in English Would you like me to show you the contents of any specific snippet or explain anything further about the implementation?
… and "Exit Aider"
…e files: `aider-core.el`, `aider-prompt-mode.el`, and `aider.el`, with the functionality distributed appropriately. The structure now follows the design we discussed: 1. `aider-core.el` contains the essential, shared functions 2. `aider-prompt-mode.el` contains the prompt mode definition and related functions 3. `aider.el` contains the main functionality, menu, and upper-level functions A few observations and confirmations: - The core functionality is now in `aider-core.el` - The prompt mode is now in `aider-prompt-mode.el` - `aider.el` now requires both `aider-core.el` and `aider-prompt-mode.el` - The functions are distributed logically - The code maintains its original functionality The shell command you suggested will help verify the basic loading of the files: ```bash emacs -Q -batch -l aider-core.el -l aider-prompt-mode.el -l aider.el -f emacs-version ``` Would you like me to make any further adjustments or refinements to the code?
…related functions into a new file `aider-code-change.el` while maintaining the original structure and functionality. The commit message should reflect this refactoring. Here's a suggested commit message: ``` refactor: Separate code change functions into dedicated file ``` This message follows the conventional commit format, uses the "refactor" type, and succinctly describes the main change: moving code change functions to a separate file. Would you like me to proceed with creating the commit?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Initial snippet came from reddit user LorestForest