language-typescript icon indicating copy to clipboard operation
language-typescript copied to clipboard

.ts files are not auto detected

Open sergeyfilimonov opened this issue 5 years ago • 2 comments

Prerequisites

  • [x] Put an X between the brackets on this line if you have done all of the following:
    • Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
    • Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
    • Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
    • Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
    • Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description

.ts files are not detected automatically because the .ts file types are not defined in the packages. Thus code is not highlighted until I configure the file as a TypeScript file.

Снимок экрана 2020-02-09 в 18 54 50

Versions

Atom 1.43.0 language-typescript 0.6.0

sergeyfilimonov avatar Feb 09 '20 15:02 sergeyfilimonov

I posted the same issue here https://github.com/atom/atom/issues/20629

Just wanted to add that

  • atom --safe does auto detects TS language
  • Toggeling Use Tree Sitter Parsers has no effect
  • Downgrading to Atom 1.42.0 fixes Autodetect
  • Broken for: 1.43, 1.44, 1.45

lonewarrior556 avatar Apr 20 '20 20:04 lonewarrior556

Probably needs #44

sharedprophet avatar May 27 '20 17:05 sharedprophet