github-linguist / linguist

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

NetLogo 3D not properly detected #3412

Closed lrq3000 closed 7 years ago

lrq3000 commented 7 years ago

NetLogo supports both 2D or 3D models. For 3D models, the default extension is .nlogo3d, although .nlogo also works (I don't know if it internally makes a difference, but NetLogo 3D by default saves project as .nlogo3d).

I did a search on GitHub but it seems GitHub cannot properly detect this extension.

However using Google, I get a hundred results.

Here is my repository, as an example: https://github.com/lrq3000/netlogo-mas-drones

Would it be possible to add support for .nlogo3d? The parsing should be very similar to .nlogo, it's basically just a variant name (although maybe the header has some differences).

/EDIT: Yes in the footer (not the header), the version will be different:

NetLogo 3D x.x.x where x.x.x is the version number, instead of NetLogo x.x.x.

pchaigno commented 7 years ago

I did a search on GitHub but it seems GitHub cannot properly detect this extension.

I counted 45 repositories among 38 users. I don't think that will be enough to add the .nlogo3d file extension yet.

lrq3000 commented 7 years ago

Fair enough, even if that's sad :/

2017-01-01 12:17 GMT+01:00 Paul Chaignon notifications@github.com:

I did a search on GitHub but it seems GitHub cannot properly detect this extension.

I counted 45 repositories among 38 users https://github.com/search?p=1&q=extension%3Anlogo3d+NOT+dfhdfdhfjdhfdhd&type=Code&utf8=%E2%9C%93. I don't think that will be enough to add the .nlogo3d file extension yet.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/github/linguist/issues/3412#issuecomment-269899267, or mute the thread https://github.com/notifications/unsubscribe-auth/ABES3g4ZYmD3ueek4qnaBoToxx7nw9n2ks5rN4sugaJpZM4LYlTs .