mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
copy
This commit is contained in:
parent
8f5669b9ca
commit
a9219cb9de
1 changed files with 40 additions and 0 deletions
40
docs/faq.md
40
docs/faq.md
|
@ -10,6 +10,7 @@
|
||||||
- [Can I run aider in Google Colab?](#can-i-run-aider-in-google-colab)
|
- [Can I run aider in Google Colab?](#can-i-run-aider-in-google-colab)
|
||||||
- [How can I run aider locally from source code?](#how-can-i-run-aider-locally-from-source-code)
|
- [How can I run aider locally from source code?](#how-can-i-run-aider-locally-from-source-code)
|
||||||
- [Can I script aider?](#can-i-script-aider)
|
- [Can I script aider?](#can-i-script-aider)
|
||||||
|
- [What code languages does aider support?](#what-code-languages-does-aider-support)
|
||||||
|
|
||||||
## How does aider use git?
|
## How does aider use git?
|
||||||
|
|
||||||
|
@ -287,3 +288,42 @@ coder.run("make a script that prints hello world")
|
||||||
# Send another instruction
|
# Send another instruction
|
||||||
coder.run("make it say goodbye")
|
coder.run("make it say goodbye")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## What code languages does aider support?
|
||||||
|
|
||||||
|
Aider supports pretty much all the popular coding languages.
|
||||||
|
This is partly because GPT-4 is fluent in most mainstream languages,
|
||||||
|
and familiar with popular libraries, packages and frameworks.
|
||||||
|
|
||||||
|
In fact, coding with aider is sometimes the most magical
|
||||||
|
when you're working in a language that you
|
||||||
|
are less familiar with.
|
||||||
|
GPT often knows the language better than you,
|
||||||
|
and can generate all the boilerplate to get to the heart of your
|
||||||
|
problem.
|
||||||
|
GPT will often solve your problem in an elegant way
|
||||||
|
using a library or package that you weren't even aware of.
|
||||||
|
|
||||||
|
Aider uses tree-sitter to do code analysis and help
|
||||||
|
GPT navigate larger code bases by producing
|
||||||
|
a [repository map](https://aider.chat/docs/repomap.html).
|
||||||
|
|
||||||
|
Aider can currently produce repository maps for most mainstream languages, listed below.
|
||||||
|
But aider should work quite well for other languages, even without repo map support.
|
||||||
|
|
||||||
|
- C
|
||||||
|
- C#
|
||||||
|
- C++
|
||||||
|
- Emacs Lisp
|
||||||
|
- Elixir
|
||||||
|
- Elm
|
||||||
|
- Go
|
||||||
|
- Java
|
||||||
|
- Javascript
|
||||||
|
- OCaml
|
||||||
|
- PHP
|
||||||
|
- Python
|
||||||
|
- QL
|
||||||
|
- Ruby
|
||||||
|
- Rust
|
||||||
|
- Typescript
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue