facebookarchive / nuclide

An open IDE for web and native mobile development, built on top of Atom
https://nuclide.io
Other
7.79k stars 682 forks source link

Nuclide making incorrect language identification #1133

Open bsussman opened 7 years ago

bsussman commented 7 years ago

I know that php is generally legal hack. but xxxxx.php should be identified, colored and evaluated as php, especially for folks who do not use hack.

I looked some for a report of this and could not find one.

Issue and Steps to Reproduce

Nuclide is identifying xxxxx.php as language = hack. Customization to atom's config.cson does seem to fix this. nuclang Disable Nuclide - correct identification: nonuclang

Expected Behavior

Nuclide should identify a php file as php.

Actual Behavior

See above

Versions

Additional Details

[13:18] ~$

jakewtaylor commented 6 years ago

This is still a problem. Any solutions?