mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
copy
This commit is contained in:
parent
c74c297aa2
commit
589f1d510e
1 changed files with 4 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
title: Linting code for LLMs with aider and tree-sitter
|
||||
title: Linting code for LLMs with aider
|
||||
excerpt: Aider now lints code after every LLM edit and automatically fixes errors, using tree-sitter and AST-aware code context.
|
||||
highlight_image: /assets/linting.jpg
|
||||
---
|
||||
|
||||
[](https://aider.chat/assets/linting.jpg)
|
||||
|
||||
# Linting code for LLMs with aider and tree-sitter
|
||||
# Linting code for LLMs with aider
|
||||
|
||||
Aider now lints your code after every LLM edit, and offers to automatically fix
|
||||
any linting errors.
|
||||
|
@ -14,7 +14,8 @@ You can also use aider's lint-and-fix functionality on your source files any tim
|
|||
you like, to speedily resolve issues with code written by humans.
|
||||
|
||||
Aider shows linting errors to the LLM in a novel format,
|
||||
using the abstract syntax tree (AST) to display relevant code context for each
|
||||
using tree-sitter
|
||||
to help display relevant code context for each
|
||||
error.
|
||||
This increases the ability of the LLM to understand the problem and
|
||||
make the correct changes to resolve it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue