From b09c95c9c676e8fbf495aa46cc287c96379ef719 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 13 Jul 2023 10:46:49 -0700 Subject: [PATCH] added hello aider example --- docs/install.md | 2 +- examples/hello.md | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 examples/hello.md diff --git a/docs/install.md b/docs/install.md index 33f1051be..9ac4c039d 100644 --- a/docs/install.md +++ b/docs/install.md @@ -78,7 +78,7 @@ Some things to be aware of: * The `ctags` command needs to be on your shell path so that it will run by default when aider invokes `ctags ...`. * You need a build which includes the json feature. You can check by running `ctags --version` and looking for `+json` in the `Optional compiled features` list. -```bash +``` $ ctags --version Universal Ctags 6.0.0, Copyright (C) 2015-2022 Universal Ctags Team diff --git a/examples/hello.md b/examples/hello.md new file mode 100644 index 000000000..5b4af684f --- /dev/null +++ b/examples/hello.md @@ -0,0 +1,25 @@ +# Hello aider! + +Here is the simplest possible "hello world" example of using aider: + +
+ +#### change hello to goodbye + +To change the output from "hello" to "goodbye", we need to modify the `hello.py` file. + +Here is the change: + +```python +hello.py +<<<<<<< ORIGINAL +print("hello") +======= +print("goodbye") +>>>>>>> UPDATED +``` + +> Applied edit to hello.py +> Commit 672ae42 aider: Changed output from "hello" to "goodbye" in hello.py. + +