Commit graph

335 commits

Author SHA1 Message Date
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
Paul Gauthier
3ff5f280bb fix: add dump function call to style dictionary processing in InputOutput class 2024-09-27 19:49:52 -07:00
Paul Gauthier (aider)
2d5db0dc23 style: format code with linter adjustments 2024-09-27 19:47:45 -07:00
Paul Gauthier (aider)
537f5a1f98 fix: update _get_style method to conditionally add completion menu styles based on non-null values 2024-09-27 19:47:41 -07:00
Paul Gauthier
ede3cbb372 refactor: simplify _get_style method in InputOutput class 2024-09-27 19:47:40 -07:00
Paul Gauthier (aider)
d3908ca971 fix: update style dictionary and simplify style retrieval in get_input method 2024-09-27 19:45:14 -07:00
Paul Gauthier (aider)
725b5f7063 feat: centralize pygments.literal.string style configuration in _get_style method and simplify calling code 2024-09-27 19:45:04 -07:00
Paul Gauthier (aider)
fd9dc9e8d2 style: format linter adjustments in io.py for better readability 2024-09-27 19:44:23 -07:00
Paul Gauthier (aider)
c5fb25eec3 fix: correct SEARCH/REPLACE block in aider/io.py to match existing lines exactly 2024-09-27 19:44:20 -07:00
Paul Gauthier (aider)
d2e0d3c06d refactor: ensure _get_style always returns a dictionary and simplify calling code 2024-09-27 19:44:14 -07:00
Paul Gauthier (aider)
1cd5b11b5c style: fix linter issues in io.py 2024-09-27 19:43:34 -07:00
Paul Gauthier (aider)
b16050211c fix: fix line length issue in _get_style method by breaking long string into multiple lines 2024-09-27 19:43:30 -07:00
Paul Gauthier (aider)
0a558682d8 style: format linter adjustments in io.py for better readability 2024-09-27 19:43:16 -07:00
Paul Gauthier (aider)
bff1b3de9c refactor: centralize completion menu styles in _get_style method to reduce code duplication 2024-09-27 19:43:12 -07:00
Paul Gauthier (aider)
cf46d9cdd0 style: run linter and format completion menu style definitions 2024-09-27 19:41:56 -07:00
Paul Gauthier (aider)
2c084d65d9 refactor: centralize style creation logic by introducing _get_style method in InputOutput class 2024-09-27 19:41:51 -07:00
Paul Gauthier
c745d0dc38 wip 2024-09-27 16:21:18 -07:00
Paul Gauthier (aider)
6c2c3942bf feat: Add document and complete_event parameters to get_command_completions 2024-09-27 16:04:17 -07:00
Paul Gauthier
3ec0861727 fix: Add support for raw completers in AutoCompleter 2024-09-27 16:04:16 -07:00
Paul Gauthier (aider)
37b512e4fc feat: Update get_command_completions and get_completions methods 2024-09-27 15:59:56 -07:00
Paul Gauthier (aider)
ee3bf2311c fix: Resolve flake8 line length errors in aider/io.py 2024-09-24 14:03:30 -07:00
Paul Gauthier
6c570b1847 feat: Add modal cursor shape configuration 2024-09-24 14:03:20 -07:00
paul-gauthier
bbfafed372
Merge pull request #1634 from smh/customize-completion-menu-colors
style: completion menu colors customizable
2024-09-24 13:19:34 -07:00
Paul Gauthier
117ff96c76 fix: Properly refactor mdstream from Coder into IO 2024-09-24 11:53:05 -07:00
Paul Gauthier (aider)
1fe2be4633 fix: ignore unicode errors in append_chat_history 2024-09-23 11:38:51 -07:00
Stein Martin Hustad
ef75ba9495 style: completion menu colorization (additional location) 2024-09-22 22:59:57 +04:00
Stein Martin Hustad
a91d3fed01 style: completion menu colors customizable 2024-09-22 10:45:00 +04:00
fry69
baddc0b63c fix: add keybinding to insert space on Ctrl+Space 2024-09-15 15:18:09 +02:00
paul-gauthier
d1384e9d5f
Merge pull request #1402 from caseymcc/io_assistant_output
Modify output from Assistant and Commands to go through InputOutput
2024-09-10 15:08:10 -07:00
Paul Gauthier
33b11d0efb refactor: simplify console initialization and error handling 2024-09-10 14:48:54 -07:00
Paul Gauthier
fd18adb072 refactor: handle prompt toolkit initialization errors gracefully 2024-09-10 14:34:25 -07:00
Paul Gauthier (aider)
1d312e372d refactor: Remove unused import of 'prompt' from prompt_toolkit 2024-09-10 14:07:32 -07:00
Paul Gauthier (aider)
13fe2036db style: remove trailing whitespace in io.py 2024-09-10 14:06:55 -07:00
Paul Gauthier (aider)
d4e47bc7e7 refactor: update confirm_ask to use prompt_session or input 2024-09-10 14:06:51 -07:00
Paul Gauthier (aider)
79a424bc10 refactor: conditionally initialize and use PromptSession based on pretty flag 2024-09-10 13:49:22 -07:00
Paul Gauthier (aider)
89891efbb8 style: format prompt_session.prompt call to fit on one line 2024-09-10 10:00:05 -07:00