问题描述
我刚刚开始使用"atom-typescript"插件,如下所示:
I just started playing with the "atom-typescript" plugin as referenced here:
该页面指出,要利用atom-typescript,我们实际上只需要:
The page states that to utilize atom-typescript, we literally just need to:
这不是不是,因为我已经创建了一个简单的目录结构,并且在尝试构建任何* .ts文件时收到以下错误:
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:
错误状态我需要使用创建tsconfig.json项目文件"命令-我根本无法找到该命令.
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!
推荐答案
键入cmd(ctrl)+shift+p
以显示命令列表,然后键入tsconfig
来查找生成tsconfig.json
文件的命令.
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.
这篇关于原子类型脚本抱怨tsconfig.json-如何自动创建一个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!