aider/aider
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
..
coders Show friendly API error messages 2024-11-01 09:20:31 -07:00
queries Update the OCaml tags file to follow the same pattern as the Python tags file. 2024-07-30 15:02:52 -03:00
resources update sonnet model names since they are in litellm json now 2024-10-22 12:53:26 -07:00
website copy 2024-11-01 11:26:39 -07:00
__init__.py set version to 0.61.1.dev 2024-11-01 09:40:02 -07:00
__main__.py Added main entry point file. 2024-06-20 07:34:15 -07:00
analytics.py cleanup 2024-10-31 11:49:17 -07:00
args.py refactor: update --gui/--browser to use BooleanOptionalAction 2024-10-31 15:01:29 -07:00
args_formatter.py feat: Rename --yes to --yes-always and update config file syntax 2024-10-02 10:55:59 -07:00
commands.py add /editor command 2024-11-03 20:18:57 -05:00
diffs.py use utf-8 2023-07-05 20:51:35 -07:00
dump.py isort 2023-05-28 22:47:38 -07:00
editor.py add /editor command 2024-11-03 20:18:57 -05:00
format_settings.py refactor: move scrub_sensitive_info to format_settings.py 2024-08-29 06:31:35 -07:00
gui.py paul-gauthier -> Aider-AI 2024-10-04 13:06:38 -07:00
help.py cleanup 2024-10-21 15:31:27 -07:00
help_pats.py refac to help_pats 2024-07-05 10:18:34 -03:00
history.py fix: Replace extra_headers and extra_body with extra_params in Coder, ChatSummary, and GitRepo 2024-09-27 13:09:43 -07:00
io.py add /editor command 2024-11-03 20:18:57 -05:00
linter.py fix: handle RecursionError during tree traversal in linter 2024-10-31 14:55:54 -07:00
llm.py chore: set LITELLM_MODE environment variable to PRODUCTION 2024-08-31 17:53:24 -07:00
main.py cleanup 2024-10-31 11:49:17 -07:00
mdstream.py fix test for windows 2024-06-29 09:13:22 -07:00
models.py feat: add support for claude-3-5-sonnet-latest model 2024-10-31 14:53:50 -07:00
prompts.py refactor: remove debug print statement for commit_system 2024-10-01 14:25:35 -07:00
repo.py fix: Replace extra_headers and extra_body with extra_params in Coder, ChatSummary, and GitRepo 2024-09-27 13:09:43 -07:00
repomap.py refactor: improve SQLite error handling and logging in tags cache 2024-10-29 15:09:22 -07:00
report.py feat: enhance GitHub issue reporting functionality 2024-09-04 10:14:25 -07:00
run_cmd.py fix: handle ValueError exception in run_cmd_pexpect function 2024-09-10 12:06:45 -07:00
scrape.py style: Format code with black 2024-09-21 18:46:24 -07:00
sendchat.py refactor: Improve error handling and URL processing in chat functionality 2024-10-31 14:13:36 -07:00
special.py fix is_important .github/workflows for Windows 2024-08-31 07:41:46 -07:00
urls.py feat: add opt-in analytics collection with privacy notice 2024-10-30 13:15:57 -07:00
utils.py style: fix whitespace and line spacing issues 2024-11-01 08:12:17 -07:00
versioncheck.py paul-gauthier -> Aider-AI 2024-10-04 13:06:38 -07:00
voice.py fix: move pydub import to avoid warnings 2024-09-24 09:29:00 -07:00