atom / ide-typescript

TypeScript and Javascript language support for Atom-IDE
MIT License
368 stars 63 forks source link

Does ide-typescript work in new Atom? #125

Closed xtuer closed 6 years ago

xtuer commented 6 years ago

Does ide-typescript work in new Atom such as the latest version 1.30.0? Tried in Mac and Windows both doesn't work!

A few things to know before you create an issue:

Environments

Atom: 1.30.0 Mac: macOS High Sierra, Version: 10.13.6

Problems

Location

Used in China (Maybe blocked by the firewall?).

rsese commented 6 years ago

Can you be more specific? When you say "doesn't work" do you mean no IDE functionality works at all? Can you share a minimal test file that doesn't work for you? Lastly, do you see any errors in devtools console?

Also what operating system are you running? I just tried Atom 1.30.0 on macOS 10.12.6 with a simple test JavaScript file and things worked ok (e.g. hyperclick and outline view worked) :

let f = function(x, y) {
  return x + y;
};

console.log(f(1,2));
xtuer commented 6 years ago

@rsese Thank you for your reply, I appended more information in the question, hope it is useful.

mattlyons0 commented 6 years ago

I'm also on OSX 10.13.6 Atom 1.30.0. I can't get it to do anything, things just spin.

Holding Command and hovering code sections shows the spinning cursor, hyperclick doens't work because of this, opening the outline shows a spinner forever. This all occurs in my codebase as well as the file included above.

Nothing is printed to console log, I have debugging enabled on the package.

mattlyons0 commented 6 years ago

As it turns out I am able to get the plugin working in some repositories but not others, will move to a different issue.

damieng commented 6 years ago

It can sometimes take some time to index and scan your code depending on the size of the code base and the number of node_modules etc.

mattlyons0 commented 6 years ago

Just as a follow-up, my problem was with symlink cycles (Lerna), something that is refused to be supported upstream (https://github.com/sourcegraph/javascript-typescript-langserver/issues/453)

damieng commented 6 years ago

Ah, good to know. We are looking at switching to a different language server wrapper around the typescript compiler that hopefully will handle this better.