-
Notifications
You must be signed in to change notification settings - Fork 204
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
Use new TypeScript Extensibility for code completion in html templates etc. #1278
Comments
I believe TypeScript has decided this a domain related issue and this poject should follow the same consensus. I'm currently toying with creating a package that would help enable the angular language service, I currently can't find anything that really fits this criteria. edited: misread OP's comment |
This issue should be close as it shouldn't be part of typescript's main client. |
@guncha @TypeStrong I'm planning to create a package that extends this for angular language service. But I'm finding it a hard time to see where the language client gets initialize when a pane is open to. Could i get a rough guide on how this package works on a high-level? |
The nice thing about using the Typescript plugin feature is that it's not editor specific, i.e., you can write it once and it will work in atom-typescript, vscode, sublime text, vim plugins, etc. I'd say look at some already written plugins (the simpler the better, there's a few listed at the bottom of the plugin wiki) and try to modify them to do what you want. That said, I should still document how this package works, but that's a different issue.. |
That's true for the language service.
But atom-typescript has a huge IDE feature (ie autocomplete, codefix, etc)
which is not part of the plugins.
I am planning to use the angular language service plugin. But i need to get
the IDE (ie atom-typescript) to work with it.
At the moment this package supports ts files. Which it should only. There's
bit of code in the grammar that regex on `template:`. Imo that shouldn't be
in the project but in a plugin to atom-typescript.
That's my intention to figure out how to make this package extendable and
not modify it just for a framework.
…On Fri., 18 Aug. 2017, 12:10 pm Guntars Ašmanis-Graham < ***@***.***> wrote:
The nice thing about using the Typescript plugin feature is that it's not
editor specific, i.e., you can write it once and it will work in
atom-typescript, vscode, sublime text, vim plugins, etc. I'd say look at
some already written plugins (the simpler the better, there's a few listed
at the bottom of the plugin wiki
<https://github.com/Microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin>)
and try to modify them to do what you want.
That said, I should still document how this package works, but that's a
different issue..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1278 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKXAhvIYRuGP5nv9a7sR7aAdsJoTcmftks5sZPKTgaJpZM4N-RUM>
.
|
This issue has been marked as stale because it did not have any activity for the last 90 days or more. Remove the stale label or comment or this will be closed in 14 days |
I am still interested in this. If anyone has a workaround or hints how to get this, please post it here |
As far as i understand this thread:
microsoft/TypeScript#6508
It should be possible to have code completion in html templates. This would be awesome!
The Language Extensibility is available in TypeScript since 2.3. Whats missing is some code in atom-typescript, am i right?
The text was updated successfully, but these errors were encountered: