Coder Social home page Coder Social logo

Comments (7)

vpenades avatar vpenades commented on July 28, 2024 1

Oh, I thought you proposed me to make the PR, my hands are full with several projects.

You can pick any cs.pp from here:

https://github.com/vpenades/CodeSugar/tree/main/src/CodeSugar.System.IO.Sources

from linguist.

lildude avatar lildude commented on July 28, 2024

If usage is sufficiently high, feel free to submit a PR to add support for this extension to C#. See CONTRIBUTING.md for details. Until then, you can use an override to force the language.

from linguist.

Alamingazipur avatar Alamingazipur commented on July 28, 2024

from linguist.

DecimalTurn avatar DecimalTurn commented on July 28, 2024

It seems like the extension cs.pp has already reached the popularity threshold to be added (2.4k files at the moment):
https://github.com/search?q=path%3A*.cs.pp+NOT+is%3Afork&type=code

@vpenades I can help with the PR creation to add cs.pp to the C# if you'd like. The details of how to do it are explained here: https://github.com/github-linguist/linguist/blob/master/CONTRIBUTING.md#adding-an-extension-to-a-language
Note that you'll need a sample file that is representative of cs.pp files (see step 2).

from linguist.

vpenades avatar vpenades commented on July 28, 2024

As suggested by @lildude I was able to fix my repo with an override, so it's fine from my side

from linguist.

DecimalTurn avatar DecimalTurn commented on July 28, 2024

@vpenades The workaround using .gitattributes works for the stats bar, but not for search. See here for instance (the files are still seen as Pascal).
image

Also, why not take this opportunity to fix this for everyone at the same time? Just let me know if you have a file that would be a good sample in your repo and I can make the PR.

from linguist.

DecimalTurn avatar DecimalTurn commented on July 28, 2024

The issue can now be closed; PR has been merged and is now part of the latest release.

from linguist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.