Skip to content

atom-typescript support #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
snaptopixel opened this issue Nov 20, 2016 · 6 comments
Closed

atom-typescript support #43

snaptopixel opened this issue Nov 20, 2016 · 6 comments

Comments

@snaptopixel
Copy link
Contributor

Is there a way to get atom-typescript working for <script lang="ts">?

@snaptopixel
Copy link
Contributor Author

Thanks @aidistan! This doesn't actually get intellisense etc working though :(

Is there a way to get atom-typescript to treat the code between <script lang="ts"> tags as if it were in a .ts file? Maybe @TypeStrong has some ideas?

@aidistan
Copy link
Contributor

@snaptopixel It works actually. The only thing you need to do is to install a typescript grammar package (to handle script.ts scope). Since language-typescript is deprecated now, I have tested with language-ts and language-typescript-grammars-only. Either is fine.

@snaptopixel
Copy link
Contributor Author

@aidistan you have autocomplete and type checking working between <script lang="ts"> tags? I installed the grammars-only package and get snippets and such, but it doesn't type check anything... Here's what I'm looking for (this is from a .ts file)...

@aidistan
Copy link
Contributor

@snaptopixel Guess we have to request the type-checking package to support ts scope rather than .ts files only.

@cybernetlab
Copy link

Ideally whould be to integrate with atom-typescript extension

@shaunc
Copy link

shaunc commented Jul 2, 2018

@aidistan -- It doesn't seem like this was resolved. Why is it closed? Should I open a new issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants