github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
12.36k stars 4.29k forks source link

QBasic/QuickBasic support #3216

Closed jalbam closed 8 years ago

jalbam commented 8 years ago

Hello,

In some of my projects which use QBasic, the .bas files are detected as Visual Basic. So I edited the .gitattributes file and added the followinng line:

*.bas linguist-language=QBasic

This does not seem to work at all. I also tried "qbasic" (lower case), "Basic", "basic", etc. nothing seems to work so far.

Is there any way to show QBasic as the language used in GitHub (which uses Linguist)?

Thank you in advance.

pchaigno commented 8 years ago

Linguist doesn't have support for QBasic yet. Please see the guidelines to add support for a new language to Linguist. If QBasic meets the requirement on in-the-wild usage, don't hesitate to open a pull request.

vwbusguy commented 3 years ago

@jaboles Looks like it now shows up as "FreeBASIC", which is an improvement, but it certainly be useful to differentiate it from QB64. It should probably be generically reported as "Quick Basic" in either case, which would certainly meet the in-the-wild usage requirement.