Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 有没有办法知道Visual Studio 2013 Update 4中是否存在TypeScript编译错误?_Visual Studio_Typescript - Fatal编程技术网

Visual studio 有没有办法知道Visual Studio 2013 Update 4中是否存在TypeScript编译错误?

Visual studio 有没有办法知道Visual Studio 2013 Update 4中是否存在TypeScript编译错误?,visual-studio,typescript,Visual Studio,Typescript,我刚刚开始使用TypeScript,使用VS2013,更新4。我遇到的一个难题是,当你保存一个TypeScript文件时,它有时会创建JavaScript文件,有时则不会。当它没有创建JavaScript文件时,没有迹象表明它失败了。输出窗口不包含任何线索,Intellisense高亮显示也不显示错误。当这种情况发生时,如果我去浏览器尝试一些东西,我会经常感到困惑,不知这是我代码中的逻辑问题/bug,还是它未能编译的技术问题。我在这里遗漏了什么吗?TypeScript插件的行为非常不正常。它传达

我刚刚开始使用TypeScript,使用VS2013,更新4。我遇到的一个难题是,当你保存一个TypeScript文件时,它有时会创建JavaScript文件,有时则不会。当它没有创建JavaScript文件时,没有迹象表明它失败了。输出窗口不包含任何线索,Intellisense高亮显示也不显示错误。当这种情况发生时,如果我去浏览器尝试一些东西,我会经常感到困惑,不知这是我代码中的逻辑问题/bug,还是它未能编译的技术问题。我在这里遗漏了什么吗?

TypeScript插件的行为非常不正常。它传达成功/失败的方式是在VS状态栏中显示一行

错误消息如下所示:

Input file(s) contained semantic errors. If declaration flag is specified, output generation of declaration files will be skipped.
成功信息:

Output(s) generated successfully.

我同意这很不方便。每次在.ts文件中保存更改时,我都会查看状态栏。

天哪!我已经用打字机写了一个星期左右,从来没有注意到这一点。谢谢这很尴尬,但如果我知道去哪里看,我可以工作。