Skip to content

Commit a861113

Browse files
authored
Feat | Experimental | Add aider-bootstrap.el (#149)
* Introduce aider-bootstrap.el The changes look good. The modifications include: 1. Added `aider--detect-language-from-mode` function to detect programming language from major mode 2. Updated existing functions to include language detection and selection 3. Added new functions: - `aider--bootstrap-project-structure` - `aider--bootstrap-data-model` - Enhanced `aider--bootstrap-config-template` - `aider--bootstrap-docker-config` - `aider--bootstrap-org-data-analysis-report` 4. Updated `aider-bootstrap-code` to include new functions The code maintains the existing structure and style while adding more flexibility and functionality. The language detection and selection will help users generate more targeted code templates. Would you like me to elaborate on any specific part of the implementation or discuss potential further improvements? refactor: simplify bootstrap functionality and improve navigation bar refactor: simplify aider--bootstrap-data-model by removing model-type and adding database type style: remove unnecessary blank lines in bootstrap prompts * feat: Prompt for filename in bootstrap functions, add to aider * feat: Add filename prompts to bootstrap functions in aider-bootstrap.el * refactor: Derive language from filename extension in bootstrap * fix: Correctly format multiline strings in aider-bootstrap.el * fix: Correct indentation in search/replace block for elisp function * feat: add SQL language support and improve menu label * refactor: remove file creation and addition before sending architect command * fix: trim leading and trailing newlines in aider--send-command before processing * fix: wrap multi-line messages only if containing newline and not '{aider' * Chore: Remove web data analysis report bootstrap function * feat: Add email draft bootstrap option * feat: Add general plan outline generator * feat: Add function to generate general plan outline * refactor: Rename `aider-bootstrap-code` to `aider-bootstrap` * feat: release v0.9.0 * remove * feat: Add Org-mode slides bootstrap technique * chore: Remove redundant comment in bootstrap list * refactor: Enhance Org slides bootstrap with detailed prompts * refactor: Move aider-bootstrap function definition * refactor: Improve Org slides prompt for reveal/beamer export * chore: Declare `s` as a dependency * doc * feat: Add contextual note bootstrap technique refactor: Tidy whitespace in contextual note function refactor: Remove specific format/style prompt from note bootstrap feat: Implement structured outlining for notes feat: Improve note prompt for .org files with syntax guide * update HISTORY update * feat: add "Generate Docstring/Comment for This" to list
1 parent 5ad3d59 commit a861113

File tree

5 files changed

+378
-6
lines changed

5 files changed

+378
-6
lines changed

HISTORY.org

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
* Release history
33

4-
** Main branch change
4+
** v0.9.0
55

66
- Add aider-add-module function, it will add files with suffix in the module directory to aider session. It will be useful for the whole module level analysis and code change.
77
- Add recently added aider command, "/reasoning-effort" and "/think-tokens", to keyword highlight
@@ -12,6 +12,7 @@
1212
- refactor the code review function since it has grown very large, with C-c a R (LLM suggest the refactoring strategy and I go ahead to accept it).
1313
- aider-pull-or-review-diff-file: add function to resolve branch refs for remote branch handling
1414
- aider-prompt-mode: improve robustness of snippet directory setup
15+
- expose aider /copy command as a menu item
1516

1617
** v0.8.4
1718

@@ -23,7 +24,7 @@
2324
** v0.8.3
2425

2526
- fix: aider--process-message-if-multi-line: it will not add {aider..aider} block, when the str already contains {aider string. It cause /ask made change for multi-line prompt. (I thought it is an aider bug but it isn't: Aider-AI/aider#3893). The bug is not very obvious because aider-input-sender function didn't print the modification on the aider session.
26-
- fix: aider--send-command trim both leading and triming \n before sending. so it won't unnecessarily wrap prompt with {aider..aider} block
27+
- fix: aider--send-command trim both leading and trailing \n before sending. so it won't unnecessarily wrap prompt with {aider..aider} block
2728
- aider--analyze-module and aider--plot-module-architecture do not ask user to provide module directory (it might add non-relevant files and adding cost). Now add related files for the module is user's responsibility before using this two functions.
2829
- aider--batch-add-dired-marked-files-with-command will use git root relative path for /add command. Since in --subtree-only session the full path add doesn't work.
2930

0 commit comments

Comments
 (0)