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

JS Status is intially misleading

Open basarat opened this issue 11 years ago • 25 comments

Its starts out with JS Outdated

image

It should really be something like Inderterminite till we do an actual validation.

Current

  • Its oudated by default < This needs to change
  • Its current if user saves file and compileOnSave was true (or user does a build)
  • Its outdated if the user edits the file after the last time we did a compile for a file

refs https://github.com/TypeStrong/atom-typescript/issues/736

basarat avatar Nov 22 '15 22:11 basarat

As someone new to atom-typescript and experiencing the recent ongoing issue with the latest Atom version and the stalled worker I really thought this meant I had something wrong or a node package out of date. The JS Outdated was maddening for my first couple of hours trying to find my way around.

pelted avatar Nov 24 '15 15:11 pelted

I"m starting to believe that my problem in #736 was due to babel compile not being applied before doing the diff on the file.

laurelnaiad avatar Nov 26 '15 00:11 laurelnaiad

not being applied before doing the diff on the file.

That is definitely true. Another :bug: !

basarat avatar Nov 26 '15 00:11 basarat

PR Coming... again, not happy with my patch, but I'm on a roll... almost to the point where I can use atom-typescript on a project. Feel free to rearrange my patches, I know they're sloppy, but I really have to get to functional on a project that isn't named 'atom-typescript'. :)

laurelnaiad avatar Nov 26 '15 01:11 laurelnaiad

I know they're sloppy, but I really have to get to functional on a project that isn't named 'atom-typescript'.

they are quite nice IMHO :rose:

basarat avatar Nov 26 '15 01:11 basarat

This issue is still open. The portion done was just a bug that was detected as a part of the analysis for this https://github.com/TypeStrong/atom-typescript/issues/737#issuecomment-159767647

basarat avatar Nov 26 '15 22:11 basarat

Sorry for the linked issue noise -- I was rebasing a branch that had a reference to this issue in its commit message. I'll make sure this doesn't keep happening.

laurelnaiad avatar Jan 14 '16 22:01 laurelnaiad

Has this been fixed yet? I'm still seeing this warning until I save the file. I feel like there should be a different default message.

tommybananas avatar Oct 04 '16 01:10 tommybananas

Same as @tommybananas above still seeing this issue. Could this be that it's still a bug because I'm using Typescript 2?

dustinchang avatar Oct 07 '16 03:10 dustinchang

image

i recently install typescript and update atom to 1.22.2, same problem

rodrigorellana avatar Oct 18 '16 00:10 rodrigorellana

I also have the same message showing. I have just installed atom and atom-typescript today. I was trying out the editor because it looks funky

nyabwana avatar Oct 30 '16 14:10 nyabwana

Yep; Atom still says "JS Outdated" for each .ts and .spec.ts file (used within Angular 2 env.)

shapir avatar Nov 13 '16 14:11 shapir

Just had this, super glad that this thread exists, otherwise I too would have assumed I did something wrong. :)

Julix91 avatar Nov 26 '16 06:11 Julix91

same

josemera avatar Nov 29 '16 01:11 josemera

Just installed atom and atom-typescript fresh, and I'm seeing this issue.

mrjpsilver avatar Dec 02 '16 01:12 mrjpsilver

Same issue

al6x avatar Dec 12 '16 07:12 al6x

Me too

ghost avatar Jan 08 '17 04:01 ghost

Same here.

tvanesse avatar Jan 10 '17 13:01 tvanesse

Same :heavy_plus_sign:

4esnog avatar Jan 12 '17 13:01 4esnog

Same

wallaceicy06 avatar Jan 17 '17 03:01 wallaceicy06