mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
noop
This commit is contained in:
parent
b74779d1b7
commit
ee73e8eb41
1 changed files with 7 additions and 7 deletions
|
@ -127,6 +127,13 @@ class Commands:
|
|||
|
||||
self.console.print(Text(diff))
|
||||
|
||||
def completions_add(self, partial):
|
||||
files = set(self.coder.get_all_relative_files())
|
||||
files = files - set(self.coder.get_inchat_relative_files())
|
||||
for fname in files:
|
||||
if partial.lower() in fname.lower():
|
||||
yield Completion(fname, start_position=-len(partial))
|
||||
|
||||
def cmd_add(self, args):
|
||||
"Add matching files to the chat"
|
||||
|
||||
|
@ -145,13 +152,6 @@ class Commands:
|
|||
else:
|
||||
self.console.print(f"[red]{matched_file} is already in the chat")
|
||||
|
||||
def completions_add(self, partial):
|
||||
files = set(self.coder.get_all_relative_files())
|
||||
files = files - set(self.coder.get_inchat_relative_files())
|
||||
for fname in files:
|
||||
if partial.lower() in fname.lower():
|
||||
yield Completion(fname, start_position=-len(partial))
|
||||
|
||||
def completions_drop(self, partial):
|
||||
files = self.coder.get_inchat_relative_files()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue