Skip to content
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

Closed
DerZyklop opened this issue Jun 19, 2017 · 7 comments
Closed
Labels

Comments

@DerZyklop
Copy link

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?

@jonyeezs
Copy link

jonyeezs commented Aug 12, 2017

I believe TypeScript has decided this a domain related issue and this poject should follow the same consensus.
I'm not sure what framework you need that feature.
But for me, it's angular. Angular now has its own language service plugin

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

@jonyeezs
Copy link

This issue should be close as it shouldn't be part of typescript's main client.

@jonyeezs
Copy link

@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?

@guncha
Copy link
Contributor

guncha commented Aug 18, 2017

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..

@jonyeezs
Copy link

jonyeezs commented Aug 18, 2017 via email

@github-actions
Copy link

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

@DerZyklop
Copy link
Author

I am still interested in this. If anyone has a workaround or hints how to get this, please post it here

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

No branches or pull requests

3 participants