yamadashy / repomix

📦 Repomix (formerly Repopack) is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, and Gemini.
MIT License
4.25k stars 195 forks source link

Feature Request : erasing line gaps #133

Open Imshakhawat opened 1 month ago

Imshakhawat commented 1 month ago

if a file has unnecessary line gaps the they are not removed which makes the file more bulky. is it possible to remove unnecessary line gaps to make the files more relevant ?

yamadashy commented 1 month ago

@Imshakhawat Thank you for your feature request. I believe we can address this using an existing feature in Repopack:

The output.removeEmptyLines option is designed to remove unnecessary line gaps, which should help make the files more compact and relevant. Here's how you can use it:

{
  "output": {
    "removeEmptyLines": true
  }
}
yamadashy commented 2 weeks ago

Hi @Imshakhawat!

Just checking in - were you able to get this working with the removeEmptyLines option?