Sublime Forum

Typescript plugin lacks of support on development

#1

Hi!

Installed freshly on Ubuntu Linux Sublime Text 3 (build 3211) and TypeScript plugin . The plugin needs node.js and typescript installed, I have both globally available.

File types (both Typescript and Typescript React) are recognized, syntax highlighting works. Code autocomplete works like for common JavaScript, but anything TypeScript specific seems not available. Like symbol renaming, code formatting, signature popups, quick info, etc plugin says supporting.

For example, if I try to format my code (either with a shortcut or from the command palette), Sublime seems to freeze for a second, but nothing happens. From the console, I see always queue timeout-events, but no other info.

So something is working (code highlighting, file types association), but anything deeper is not. From the plugin’s page, I see a lot of great features on screenshots, but they don’t work for my setup. What may cause the situation?

TIA,

Gunnar

0 Likes

#2

Hey. Have you checked the issues on GitHub? Eg https://github.com/microsoft/TypeScript-Sublime-Plugin/issues/298 seems related to not having a local tsconfig.json file. I don’t use the plugin or typescript so can’t really comment further sorry.

0 Likes

#3

I briefly skimmed the issues in github, but found nothing relevant. The issue you are pointing to may have similar problem, but I am not completely sure, because in my case popups don’t work at all, for example. I am not sure about their “solution” too, can’t understand it.

0 Likes

#4

I think I found the culprit: using my project from remote filesystem. I copied the project to local directory and plugin started to work as expected.

Thank you for the attention!

Wbr,

Gunnar

0 Likes