TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

Feature request: Please make the Playground editor embeddable in other web applications

Open T18970237136 opened this issue 11 years ago • 21 comments

Hi, I think TypeScript is a great language and I really like the web-based playground editor editor due to its auto-completion/Intellisense features (which also shows method documentation, etc).

Unfortunately the editor doesn't seem to have a license so that it could be used for other web applications, as discussed here: http://typescript.codeplex.com/discussions/401549

Our use case: We are developing a web application where users can type their own Javascripts/Typescripts which extend the server's functionality. When the server runs these scripts, it provides an API object with defined properties and methods. So, TypeScript would be ideal here because we can write a .d.ts definition file containing the API definition and then present a typescript editor which uses this definition file.

Then, when the users edit their scripts they would get auto-completion with IntelliSense etc.

Currently we are trying to use one of the alternatives mentioned in the above Codeplex discussion that is based on the ACE editor (e.g. the one from basarat), but there seem to be some bugs which don't allow a smooth editor experiene, and its auto-complete feature doesn't show property types, documentation etc.

Would it be possible to release the Playground editor under a license (which wouldn't need to be opensource) that allows to embed it in other application? Thanks!

T18970237136 avatar Oct 19 '15 08:10 T18970237136

Probably best asked in the VSCode repository, not here @T18970237136.

kitsonk avatar Nov 20 '15 11:11 kitsonk