License for Playground Editor?

Topics: General
Nov 1, 2012 at 2:24 PM

What is the source code license for the playground editor?

I would like to package it up as a WinJS app for WinRT, loading and saving files from SkyDrive.  Is this possible under the current license?

If not, can somebody at Microsoft release a Playground app for WinRT.  It would give us Surface owners a great chance at trying to code with the TouchCover. :-) 

Coordinator
Nov 1, 2012 at 4:46 PM

Thanks for the suggestion. 

The playground source has not been released publically, to my knowledge.

Dec 25, 2012 at 4:17 PM
joewood72 wrote:

What is the source code license for the playground editor?

I would like to package it up as a WinJS app for WinRT, loading and saving files from SkyDrive.  Is this possible under the current license?

If not, can somebody at Microsoft release a Playground app for WinRT.  It would give us Surface owners a great chance at trying to code with the TouchCover. :-) 

You can have a look on this project : https://github.com/hi104/typescript-playground-on-ace

It's written in coffee script and ace with MIT license and user experience is very similar to the playground editor by MS.

Feb 26, 2013 at 2:51 AM
jonturner wrote:
Thanks for the suggestion.  The playground source has not been released publically, to my knowledge.
What's the status on this? I need a type script editor for the browser, and I'd rather not start from scratch if one already exists. I mean, if MS really wants people to take hold of TS, why not release the editor as well!!!? ;)

Thanks,
James
Coordinator
Feb 26, 2013 at 7:36 PM
The open source language service is what both the Visual Studio plugin's editor and the web editor use. People have also used it to create new editors including, I believe, web editors as well.
Feb 26, 2013 at 8:12 PM
https://github.com/hi104/typescript-playground-on-ace - MIT licence
https://github.com/jbaron/cats - Apache

On Tue, Feb 26, 2013 at 2:36 PM, jonturner <notifications@codeplex.com> wrote:

From: jonturner

The open source language service is what both the Visual Studio plugin's editor and the web editor use. People have also used it to create new editors including, I believe, web editors as well.

Read the full discussion online.

To add a post to this discussion, reply to this email (typescript@discussions.codeplex.com)

To start a new discussion for this project, email typescript@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com




--
Chris Houdeshell
choudeshell@gmail.com

Feb 26, 2013 at 8:39 PM
jonturner wrote:
The open source language service is what both the Visual Studio plugin's editor and the web editor use. People have also used it to create new editors including, I believe, web editors as well.
I did a search for "open source language service" and didn't find it, do you have a link?
Feb 26, 2013 at 8:48 PM
choudeshell wrote:
https://github.com/hi104/typescript-playground-on-ace
MIT licence https://github.com/jbaron/cats - Apache
Cats is not a simple pure client side JavaScript editor. I've did already find the ACE version shortly after I posted here, but it looks like it is written using CoffeeScript, and I'm not interested in wasting my time learning a new syntax to transcode into JavaScript to get an editor for TypeScript, which also transcodes to JavaScript. ;) I was exploring the idea thought of just implementing my own editor using TypeScript and ACE ... anyone have TS definition files for ACE yet? LOL. ;)
Coordinator
Feb 26, 2013 at 11:57 PM
The language service is part of the TypeScript source code. If you look in the bin directory of the source tree: http://typescript.codeplex.com/SourceControl/BrowseLatest, you will see the compiler and the language service (typescriptServices.js). These are both built from the TypeScript source available in the repository.
Feb 27, 2013 at 9:01 AM
As the developer of Cats I looked in the past at the possibility to be able to run Cats in a plain browser. Still being a goal, I tried to limit the dependencies on node-webkit where possible in order to be able in the future to support that scenario.

Right now the main dependencies are:

1) File-IO (that is now contained in a single file and could be replaced with for example the SkyDrive API)
2) Menu API and that could be replaced with some pure HTML equivalent

It won't be a one-day task, but also shouldn't cost weeks of effort.
Feb 27, 2013 at 12:32 PM
As the developer of Cats I looked in the past at the possibility to be able to run Cats in a plain browser. Still being a goal, I tried to limit the dependencies on node-webkit where possible in order to be able in the future to support that scenario.

Right now the main dependencies are:

1) File-IO (that is now contained in a single file and could be replaced with for example the SkyDrive API)
2) Menu API and that could be replaced with some pure HTML equivalent

It won't be a one-day task, but also shouldn't cost weeks of effort.
Apr 23, 2013 at 4:46 AM
@jamesnw I've ported the coffeescript version over to a typescript version that you might find easier to use : https://github.com/basarat/TypeScriptEditor Fixed a couple of bugs and reduced code duplication as well.
Apr 23, 2013 at 11:39 AM
Edited Apr 23, 2013 at 11:42 AM
You rock! :) I'm developing dreamspace.codeplex.com and v8dotnet.codeplex.com, and I'll be in need of this editor in the very near future. Keep up the great work. 8)
May 26, 2013 at 7:41 PM
I'm working on integration into ace-editor code,
I started from the basarat code and refactored it into an ace extension (not finished but it's already working).

You can preview that on gh-pages: http://guillaume86.github.io/ace/kitchen-sink.html

There's still some work:
  • finish to refactor ext/ code into something clean
  • show error message on hover
  • investigate making the worker optional?
  • find a nicer way to pass libraries to mode (can't access editor options from mode)
  • ...
  • match playground features
Jun 10, 2013 at 1:36 PM
I think Anders et al have done a fantastic job in producing TypeScript. In addition to the conventional use-cases I can think of many situations where I'd like users to be able to "annotate" GUI components at run-time with code fragments to alter their behaviour. At present Javascript can be used for this, but is more error-prone and clunky than I'd like. So being able to use TypeScript, with the additional safety that comes from the type inference, together with a web editor supporting intellisense driven by this type information, would be great. It would make moving over to TypeScript a much easier "sell". So it would be helpful if someone in Microsoft could let us know what the plans are for the software used in the Playground Editor. It looks like Microsoft have done a really good job of building a web editor that fully exploits the additional information provided by TypeScript, and it is a real asset to the TypeScript project. It would be a real shame if the editor was forever constrained to live inside the playground, or just within Microsoft projects for example.
Apr 22, 2014 at 11:03 PM
Hi everyone. :) Almost a year later, so I wanted to pop in and see where we are with this. Is the TypeScript playground still not public? Also, @baasarat and @guillaume86 , how are the projects coming along?

Thanks.
Apr 22, 2014 at 11:05 PM
BTW: @guillaume86 , I like the idea of a native ACE plugin. Very interesting. ;)
May 8, 2014 at 7:53 PM
Also checking in on the status of an open sourced Typescript playground. Honestly, I'd say the playground is an even better editing experience than Visual Studio Express. It's very simple, easy to use, and just works. Much more responsive too.
Sep 19, 2015 at 2:50 PM
The editor used on the playground is informally known as Monaco and it's used in Visual Studio Code.


http://stackoverflow.com/a/29966094/1571103

The 'editor' (the thing that renders the code with syntax highlighting, line numbers, etc..) part of Visual Studio Code is Microsoft's Monaco editor. It is the same editor used for OneDrive, Windows Azure, TypeScript Playground, and Visual Studio Online. I have yet to find any real documentation on this editor from Microsoft but there are some articles about it around the web.
Sep 22, 2015 at 6:34 AM
I understood that Visual Studio Code is based on Atom. Pity that MS didn’t open source at least part of it, but at least they don’t rule it out.



Sep 22, 2015 at 10:34 AM
Please read the post: http://stackoverflow.com/a/29966094/1571103

It explains that Visual Studio Code is NOT built on Atom, but it does use Electron. I agree that the world would be a better place if the would open source it.