DFreds / code-peek-atom

Atom package to peek functions in different files
MIT License
22 stars 10 forks source link

Language type recognition suggestion. #16

Closed tongjieme closed 7 years ago

tongjieme commented 7 years ago

Hello

It seems like the code-peek package recognize the language type base on the file extension. (correct me if i am wrong)

I think it would be more accurate to recognize from the current file syntax which was set in the right bottom of Atom.

qq 20170204184332

DFreds commented 7 years ago

Great idea! You're right that it looks at the file extension. I'll look into changing so that it's based on the current syntax.

DFreds commented 7 years ago

Solved this. Thanks again for the suggestion. Look for version 1.4.15 shortly