Comments (5)
An outstanding issue with the project is that I haven't seen any visible change in my experience when using them. I think this is because most entries seem to configure the default settings which make them just a slight waste of time to use.
I, for one, want to see the files cleaned up to just include the tweaks that haven't been accepted to https://github.com/github-linguist/linguist/
from gitattributes.
Would that require users (local, non-github etc) to have linguist installed?
Nope. But you can have linguist installed locally if you want to see the benefits locally, too ;)
Linguist is what GitHub uses to build out the colored language bar, apply the appropriate syntax highlighting, etc. It works really well out of the box, but there are a few instances where it needs help. For example, a lot of .json
files are actually .jsonc
(JSON with Comments).
So tsconfig.json
will get scary red highlighting for comments unless you apply an override.
linguist-language
is the only attribute I've frequently had to use. linguist-detectable
might be valid sometimes. For example a Jekyll project that uses Markdown, since Markdown is not detected by default.
So the large majority will only see benefits on github.com, but a few might see benefits locally, too.
from gitattributes.
@Richienb I agree that a lot of the stuff like *.txt text=auto
feels a bit redundant. I like the idea of focusing on improving the experience for users with syntax highlighting features. I also like the idea of #140.
@alexkaratarakis thoughts?
from gitattributes.
The project is still being maintained and improvements are very welcome! :)
Most of the open issues seem stale at quick glance so they can be closed-and-reopened-later-if-needed, just have been leaving them open for visibility - the volume is such that it could go either way. Regarding #177 , the user was deleted a few days after the PR was opened. Other PRs have been merged since then.
I agree that a lot of the stuff like *.txt text=auto feels a bit redundant. I like the idea of focusing on improving the experience for users with syntax highlighting features. I also like the idea of #140.
I agree with these. Syntax highlighting, especially, is a huge productivity boost, in my opinion.
I, for one, want to see the files cleaned up to just include the tweaks that haven't been accepted to https://github.com/github-linguist/linguist/
Would that require users (local, non-github etc) to have linguist
installed?
from gitattributes.
Ok you've answered my question 👍 closing as completed
from gitattributes.
Related Issues (20)
- create "gitattributes organization" HOT 9
- Rationale for specifying line endings in `.gitattributes` generally, and specifically for `*.ps1` files. HOT 1
- default config '* text=auto' is placed in multiple templates
- folder ".override/" in gitattributes
- Inconsistent *.pdf attributes HOT 2
- Consider splitting "Web.gitattributes" into "Jekyll.gitattributes" and "Node.gitattributes" similar to github/gitignore HOT 1
- Use "Global" and "community" folders like github/gitignore HOT 1
- Consider `gh` CLI extension? HOT 3
- Consider removing "*.thing text" from lots of .gitattributes files? HOT 2
- Get in touch with @gitattributes? HOT 10
- Consider clarifying if you can have more than 1 `.gitattributes` file, and how specific the file name(s) need to be... HOT 1
- Directly set a percentage for a specific language in a .gitattributes file. HOT 1
- Generator output contains duplicate lines HOT 3
- Unity shadergraph should have eol=LF HOT 1
- What does `diff=astextplain` for `*.epub` accomplish? HOT 2
- Read
- evaluation details
- Git
- Atributes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitattributes.