aider icon indicating copy to clipboard operation
aider copied to clipboard

Feature: Auto track loaded files

Open pcfreak30 opened this issue 1 year ago • 3 comments

Issue

There should be a switch that will track the loaded editable and read only files using the load and save cmds. It should probably sha1/sha256 the folder path and store in .local/.config on linux at-least as state.

This will mean if you exit or accidentally kill the editor you can stop needing to manually track everything or do anything awkward to get your context restored. Could apply to /web or other fragments too.

Version and model info

No response

pcfreak30 avatar Mar 14 '25 14:03 pcfreak30

Sounds good to me, too

I'm considering two options:

a. Store the data centrally under $HOME, like in .local or .config. b. Place it directly in the working directory, making sure it's ignored by Git.

Option a might make it tricky to decide when it's safe to delete old data. Also, we'd have to consider things like path normalization, symlinks, and directory moves.

Option b seems simpler, but it might clutter up the working directory a bit.

kt-devoss avatar Apr 21 '25 07:04 kt-devoss

working on it

Sarthak816 avatar Jun 22 '26 17:06 Sarthak816

added it

Sarthak816 avatar Jun 22 '26 17:06 Sarthak816