Skip to content

Experiment to implement custom TypeScriptEditor #41

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
angelozerr opened this issue Apr 4, 2016 · 1 comment
Closed

Experiment to implement custom TypeScriptEditor #41

angelozerr opened this issue Apr 4, 2016 · 1 comment
Milestone

Comments

@angelozerr
Copy link
Owner

Today, ts files are opened with JSDT Editor, but there are several problems:

  • double parsing of ts file (on JSDT client editor + on tsserver side).
  • cannot override outline, open hierarchy, format, etc

This issue is about implementing a custom TypeScriptEditor, but it's a lot of work. I would like to reuse some JSDT features like syntax coloration to benefit with UI preferences to customize color, etc

@angelozerr angelozerr changed the title Experiment to implement custom TextEditor Experiment to implement custom TypeScriptEditor Apr 4, 2016
@angelozerr
Copy link
Owner Author

I close this issue since TypeScript editor was implemented from scratch but it uses some features of JSDT like syntax coloration, match bracket etc. In other words this editor uses the whole features of JSDT which don't need the AST which can be slow.

The goal of this TypeScript editor is to have a very fast editor when a ts file is opened. According my tests, this editor is very fast when a big ts file is opened.

@angelozerr angelozerr added this to the 1.0.0 milestone Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant