atom-typescript complaining about tsconfig.json--how can I automatically create one?

slashp picture slashp · Aug 26, 2015 · Viewed 9.2k times · Source

I just started playing with the "atom-typescript" plugin as referenced here:

Getting Started With TypeScript

The page states that to utilize atom-typescript, we literally just need to:

Now create a new .ts TypeScript file and start hacking away. AtomTS will take care of compiling it to .js and create a default tsconfig.json TypeScript project file for you.

This is not the case as I've created a simple directory structure and when attempting to build any *.ts file receive the following error:

No project file found.  Please use the 'Create tsconfig.json profile file' command

The error states I need to utilize the 'Create tsconfig.json project file' command--I simply cannot locate this command.

I understand I can create the file manually but I would like to know if / where the file can be created automatically. Thanks!

Answer

Jesse Good picture Jesse Good · Aug 26, 2015

Type cmd(ctrl)+shift+p to bring up the list of commands and then tsconfig to find the command to generate the tsconfig.json file.