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

Highlighter for TypeScript #128

Open
khongten001 opened this issue Dec 28, 2021 · 5 comments
Open

Highlighter for TypeScript #128

khongten001 opened this issue Dec 28, 2021 · 5 comments

Comments

@khongten001
Copy link

Hi,

Is there any chance to get Synedit highlighter for TypeScript?

Thanks!

@JaFi-cz
Copy link
Contributor

JaFi-cz commented Dec 28, 2021

As I tested, existing JavaScript highlighter works fine for TypeScript.
If you need Class support, Java highlighter is better. Both supports code folding.
Is there anything you miss?

@khongten001
Copy link
Author

Hi @JaFi-cz

Thank you for your tip!
About JavaScript highlighter: it does not contain import, export, async, await, interface,... keywords!
About Java highlighter: it does not contain async, await, declare,... keywords!

Both of them do not support multi-line string, string template,...

Sorry for my bad english!

@JaFi-cz
Copy link
Contributor

JaFi-cz commented Dec 29, 2021

Because i don't know TypeScript, I need someone who can help me with specification. From my experiences internet sources are not enough.
Are you able to give me:
list of TypeScript keywords
list of all missing features
some source code examples presenting missing features
we can make new TypeScript highlighter based on Java highlighter

@JaFi-cz
Copy link
Contributor

JaFi-cz commented Dec 29, 2021

Is list of keywords enough from this site?
https://www.tektutorialshub.com/typescript/identifiers-keywords-in-typescript/

@khongten001
Copy link
Author

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

3 participants