Douglas Gaskell
Douglas Gaskell

Reputation: 10048

Developing TypeScript without an installed IDE or editor

I work in a place that restricts me from downloading and installing any applications, regardless of job roles. I have several web apps that I want to migrate to Angular 2 with TypeScript. I'm a C# developer in my own time and TypeScript is very appealing as it's statically typed and just compiles down to JavaScript.

How can I develop with TypeScript without having access to an installed IDE or code editor? Are there any online environments that allow the use of TypeScript definition files that provide code help/intellisense?

Upvotes: 1

Views: 506

Answers (3)

Sebastian J.
Sebastian J.

Reputation: 762

Use Codenvy: It needs some manual tweaks but somebody figured them out already: https://groups.google.com/a/codenvy.com/forum/#!topic/codenvy/R4myXA9MygA

Upvotes: 0

zhengbli
zhengbli

Reputation: 712

You can try the playground: http://www.typescriptlang.org/Playground Although it doesn't allow references to other files.

Upvotes: 0

basarat
basarat

Reputation: 276057

How can I develop with TypeScript without having access to an installed IDE or code editor

I am hoping you can do npm install typescript. If you can just run npm install typescript -g and then run typescript as tsc -w -p tsconfig.json in your code directory. This will allow you to run the compiler in the background leaving you free to use even notepad if you have to.

Alternatively you can just download the zip file from : https://github.com/Microsoft/TypeScript/releases and if you have node you can run node ./bin/tsc etc from the extracted directory.

Upvotes: 3

Related Questions