Shtesa Shfletuesi Firefox
  • Zgjerime
  • Tema
    • për Firefox
    • Fjalorë & Paketa Gjuhësore
    • Sajte Shfletuesish të Tjerë
    • Shtesa për Android
Hyni
Paraparje e GitHub: Better Line Counts

GitHub: Better Line Counts nga Aaron

Remove generated files from the total line counts on GitHub PRs

5 (1 reviews)5 (1 reviews)
19 Users19 Users
Që të përdorni këtë zgjerim, ju duhet Firefox-i
Shkarkoni Firefox-in dhe merrni zgjerimin
Shkarko kartelën

Tejtëdhëna Zgjerimi

Foto ekrani
Rreth këtij zgjerimi
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
Rated 5 by 1 reviewer
Që të vlerësoni këtë zgjerim, bëni hyrjen
Ende pa vlerësime

Vlerësimi me yje u ruajt

5
1
4
0
3
0
2
0
1
0
Lexoni 1 shqyrtim
Permissions and dataMësoni më tepër

Required permissions:

  • Të hyjë në të dhënat tuaja për sajte në github.com përkatësi
  • Të hyjë në të dhënat tuaja për api.github.com
Më tepër të dhëna
Lidhje shtese
  • Faqe hyrëse
  • Sajt asistence
Version
1.7.7
Madhësi
140,49 KB
Përditësuar së fundi më
5 muaj më parë (30 Mar 2025)
Kategori të Afërta
  • Dukje
Licencë
Licencë MIT
Historik Versionesh
  • Shihini krejt versionet
Shtojeni në koleksion
Raportojeni këtë shtesë
Më tepër zgjerime nga Aaron
  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

  • Ende pa vlerësime

Shkoni te faqja hyrëse e Mozilla-s

Shtesa

  • Mbi
  • Blog Shtesash Firefox-i
  • Praktikë Mbi Zgjerime
  • Qendër Zhvilluesish
  • Rregulla Për Zhvilluesit
  • Blog Bashkësie
  • Forum
  • Njoftoni një të metë
  • Udhërrëfyes Shqyrtimesh

Shfletues

  • Desktop
  • Mobile
  • Enterprise

Produkte

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privatësi
  • Cookies
  • Ligjore

Hiq atje ku shënohet ndryshe, lënda e këtij sajti licencohet sipas licencës Creative Commons Attribution Share-Alike License v3.0 ose çfarëdo versioni të mëvonshëm.