github-linguist / github-linguist/linguist

`NC` files are being incorrectly identified as `nesC`

Open
#5,098 2 comments 0 reactions 0 assignees View on GitHub
Add Language Good First Issue
Dominant language
Ruby
Stars
13.7k
Forks
5.4k
Avg merge
1d 15h
Merged PRs (30d)
17

Description

Files posted by CAM software, `NC` files are being incorrectly identified as `nesC` files in my repo.

### URL of the affected repository:
https://github.com/kevinkhill/ncstat

### Last modified on:
2020-11-27

### Expected language:
`NC`? gcode? nc? I'm not sure what you want to call it

### Detected language:
`nesC`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the detection result with the affected repository, https://github.com/kevinkhill/ncstat, and inspect how Linguist distinguishes `.nc` files from nesC. Done means CAM-generated NC files are no longer reported as nesC, with the expected language label clarified.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.