Paul Gauthier (aider)
10192296fe
style: Format code with linter
2024-11-19 12:34:47 -08:00
Paul Gauthier (aider)
7b98db2f7d
fix: Escape f-string brace in multiline input tag handling
2024-11-19 12:34:43 -08:00
Paul Gauthier (aider)
81696c2e7a
feat: Add support for optional multiline input tags with matching closing tag
2024-11-19 12:34:25 -08:00
paul-gauthier
f1306d3301
Merge pull request #2234 from thehunmonkgroup/main
...
add /editor command
2024-11-19 12:22:37 -08:00
Paul Gauthier (aider)
bdafa842bd
fix: Add missing time import for time.sleep() in write_text method
2024-11-15 16:23:37 -08:00
Paul Gauthier (aider)
76c7c2562c
style: Format code with linter for improved readability
2024-11-15 16:23:26 -08:00
Paul Gauthier (aider)
f7de2234f2
fix: Handle different OSError types in write_text method
2024-11-15 16:23:21 -08:00
mw
7f48f3d01d
Added write_text exponential backoff to
...
Discord thread ID: 1306776889762906123
Resolve issue where Aider fails to write multiple, consecutive changes to a single file due to Visual Studio briefly locking a file for writing after it was edited. Presumably VS is doing some sort of processing, such as for IntelliSense, behind the scenes. This solution is applicable to other, similar editor/IDE behaviors.
2024-11-15 15:04:25 -08:00
Paul Gauthier
33555ca2ea
refactor: Simplify file display logic and label formatting
2024-11-13 13:31:38 -08:00
Paul Gauthier (aider)
6fc3776c0c
style: Fix linter warnings in io.py
2024-11-13 13:27:11 -08:00
Paul Gauthier (aider)
8a05f05bd4
refactor: Improve file list display logic with line-based spacing
2024-11-13 13:27:06 -08:00
Paul Gauthier (aider)
0dff51920e
feat: Conditionally print blank line between file sections based on file count
2024-11-13 13:26:09 -08:00
Paul Gauthier
262f217d04
style: Shorten file list labels for cleaner display
2024-11-13 13:26:08 -08:00
Paul Gauthier (aider)
8b9154bab0
feat: Add labels to read-only and editable files columns
2024-11-13 13:24:51 -08:00
Paul Gauthier
42aac55b82
use offer_url
2024-11-07 11:29:05 -08:00
Paul Gauthier (aider)
e475f3d752
refactor: move webbrowser import to io.py and remove from base_coder.py
2024-11-07 10:26:54 -08:00
Paul Gauthier (aider)
4d24dbc661
style: fix linting issues in io.py header comment
2024-11-07 10:26:41 -08:00
Paul Gauthier (aider)
0368c3fae9
refactor: extract URL opening functionality into dedicated io.offer_url method
2024-11-07 10:26:33 -08:00
Paul Gauthier
2cf93ccb54
refactor: simplify URL opening confirmation prompt
2024-11-07 10:26:31 -08:00
Paul Gauthier
129f5fae76
cleanup
2024-11-04 09:09:45 -08:00
Paul Gauthier (aider)
96ad107c19
style: add newline before error message in io.py
2024-11-04 09:05:28 -08:00
Paul Gauthier (aider)
ebdc126b00
feat: add traceback printing for file read errors
2024-11-04 09:05:24 -08:00
Paul Gauthier
5e1be966ed
chore: add comment about printing traceback stack in error handling
2024-11-04 09:05:23 -08:00
Chad Phillips
d8e9da35d6
add /editor command
...
Opens an editor for constructing a user prompt, using the currently defined chat mode.
The editor is determined as follows:
Look for the following environment variables, in order:
1. AIDER_EDITOR
2. VISUAL
3. EDITOR
If none of these are defined, use the following defaults:
Windows: notepad
OS X: vim
*nix: vi
If an editor is not found, a RuntimeError is raised.
Any arguments passed after the /editor command are inserted as content.
The temporary file used for editing has an .md extension, which can be leveraged for syntax highlighting.
NOTE: The editor used MUST block the process until the editor is closed -- the default editors all do this.
2024-11-03 20:18:57 -05:00
Paul Gauthier
72c1f25005
refactor: Move StringIO import to top of file
2024-10-31 14:49:16 -07:00
Paul Gauthier (aider)
c13536e641
style: move rich.columns import to top of file
2024-10-31 14:48:12 -07:00
Paul Gauthier (aider)
7a9988c060
style: fix linting issues in io.py
2024-10-31 14:45:35 -07:00
Paul Gauthier (aider)
b9939d4bd9
refactor: improve file list display with section headers
2024-10-31 14:45:31 -07:00
Paul Gauthier (aider)
b71a3148cf
style: fix import order in io.py
2024-10-31 14:43:29 -07:00
Paul Gauthier (aider)
42abdb0a41
feat: add compact file listing using rich Columns when pretty=True
2024-10-31 14:43:25 -07:00
Paul Gauthier
854d908fe0
refactor: improve chat history file error handling and messaging
2024-10-30 06:37:59 -07:00
Paul Gauthier (aider)
d1cf3d4600
refactor: conditionally set cursor shape only in vi mode
2024-10-29 13:50:40 -07:00
Paul Gauthier
5188872791
style: add comment about vi mode cursor config
2024-10-29 13:50:38 -07:00
Paul Gauthier
a080581329
refactor: improve file path handling with glob and rglob
2024-10-25 07:49:19 -07:00
Paul Gauthier
9edf9b4186
refactor: extract get_rel_fname function for path resolution
2024-10-25 07:36:29 -07:00
Paul Gauthier (aider)
97a9c65125
feat: add fancy_input parameter to InputOutput class initialization
2024-10-24 14:23:24 -07:00
Paul Gauthier
8a63b1b3ce
refactor: rename pretty flag to fancy_input for clarity
2024-10-24 14:23:22 -07:00
Paul Gauthier (aider)
bcf781da73
feat: sort file lists alphabetically in format_files_for_input
2024-10-24 13:48:32 -07:00
Paul Gauthier
a68178fd1b
refactor: sort files in format_files_for_input method
2024-10-24 13:48:31 -07:00
Paul Gauthier
ae54ef57ae
simplify format_files_for_input
2024-10-22 10:02:42 -07:00
Jonathan Ellis
b915b1834d
remove unused imports
2024-10-09 14:37:22 -05:00
Jonathan Ellis
464c3e29e1
add format_files_for_input and compute_minimal_fileids
2024-10-08 22:29:46 -05:00
Paul Gauthier
97ddcb2ae6
feat: Add autocomplete support for /read-only command
2024-09-28 15:14:35 -07:00
Paul Gauthier (aider)
d1ee3644ec
style: run linter and format import statements in io.py
2024-09-28 15:02:37 -07:00
Paul Gauthier (aider)
b9fb59dc3e
fix: remove unused import of PathCompleter from aider/io.py
2024-09-28 15:02:33 -07:00
Paul Gauthier (aider)
ad0497dfdf
style: run linter and fix code formatting in io.py
2024-09-28 15:02:13 -07:00
Paul Gauthier (aider)
c1642b5eca
feat: add "Never" option to confirm_ask and store user choices in never_prompts set
2024-09-28 15:02:09 -07:00
Paul Gauthier
ffd7364410
Merge branch 'main' into path-completer
2024-09-28 14:33:58 -07:00
Paul Gauthier
91307ecfc4
fix: Remove unnecessary call to dump() in InputOutput.read_style()
2024-09-27 19:50:45 -07:00
Paul Gauthier (aider)
1a75b79c81
fix: change default values for completion menu arguments to None in InputOutput.__init__ method
2024-09-27 19:49:53 -07:00