Dodatki za brskalnik Firefox
  • Razširitve
  • Teme
    • za Firefox
    • Slovarji in jezikovni paketi
    • Druge strani brskalnika
    • Dodatki za Android
Prijava
Predogled "GitHub: Better Line Counts"

GitHub: Better Line Counts — Aaron

Remove generated files from the total line counts on GitHub PRs

5 (1 reviews)5 (1 reviews)
22 uporabnikov22 uporabnikov
Za uporabo te razširitve potrebujete Firefox
Prenesite Firefox in pridobite razširitev
Prenesi datoteko

Metapodatki o razširitvi

Posnetki zaslona
O tej razširitvi
Isn't it annoying when you open a small PR, but when you look at the diff, it's +2000 -16 because you installed a new library? Or what if you had to review that PR, don't line counts like that dissuade you from starting the review?

In reality, lots of code is generated nowadays and GitHub's line counts are not representative of a PR's true size.

This extension subtracts generated files from the total line counts, giving you a better idea of how big a PR really is. That's it. That's all it does.

Generated files are detected from the branch's root .gitattributes file. See GitHub's docs to learn how to mark a file as generated: https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github

For a simple example, checkout this extension's .gitattributes file! https://github.com/aklinker1/github-better-line-counts/blob/main/.gitattributes

---

The extension is open source. Feel free to contribute if you have any ideas or just star it 😀
https://github.com/aklinker1/github-better-line-counts
Ocena 5 (1 mnenje)
Prijavite se, da ocenite to razširitev
Še ni ocenjeno

Ocena shranjena

5
1
4
0
3
0
2
0
1
0
Preberi 1 oceno
Dovoljenja in podatkiVeč o tem

Zahtevana dovoljenja:

  • dostopa do vaših podatkov za spletna mesta na domeni github.com
  • dostopa do vaših podatkov za api.github.com
Več informacij
Povezave dodatka
  • Domača stran
  • Stran s podporo
Različica
1.7.7
Velikost
140,49 KB
Zadnja posodobitev
pred 6 meseci (30. mar. 2025)
Sorodne kategorije
  • Videz
Licenca
Licenca MIT
Zgodovina različic
  • Ogled vseh različic
Dodaj v zbirko
Prijavi ta dodatek
Več razširitev razvijalca Aaron
  • Še ni ocenjeno

  • Še ni ocenjeno

  • Še ni ocenjeno

  • Še ni ocenjeno

  • Še ni ocenjeno

  • Še ni ocenjeno

Pojdi na domačo stran Mozille

Dodatki

  • O strani
  • Blog Dodatkov za Firefox
  • Delavnica razširitev
  • Razvojno središče
  • Pravilniki za razvijalce
  • Blog skupnosti
  • Forum
  • Prijavi hrošča
  • Smernice za ocene

Brskalniki

  • Desktop
  • Mobile
  • Enterprise

Izdelki

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Zasebnost
  • Piškotki
  • Pravno obvestilo

Če ni navedeno drugače, je vsebina tega spletnega mesta na voljo pod licenco Creative Commons Attribution Share-Alike v3.0 ali pod katerokoli novejšo različico.