简体   繁体   English

如何在Mac OS X上的Webstorm中将javascript文件分组为其打字稿文件

[英]How to group javascript files into its typescript file in webstorm on mac osx

On Windows, WebStorm display javascript files under the typescript files which they generated from in the Project window. 在Windows上,WebStorm在“ Project窗口中生成的打字稿文件下显示javascript文件。 But on mac osx, the Project window display javascript files besides typescript files. 但是在Mac OS X上,“ Project窗口除了显示脚本文件外还显示javascript文件。

How to get WebStorm on OSX to display the generated javascript as it does on windows? 如何在OSX上获取WebStorm以像在Windows上一样显示生成的JavaScript?

Grouping relations are established when running the compiler; 运行编译器时会建立分组关系; this behavior is not OS-specific. 此行为不是特定于操作系统的。 Please make sure to set your Project tool window scope to 'Project' - grouping doesn't works when using other scopes ('Project Files', 'Problems', etc.) - see WEB-15708 请确保将您的“项目”工具窗口范围设置为“项目”-使用其他范围(“项目文件”,“问题”等)时无法进行分组-请参见WEB-15708

File - Settings - Typescript -启用Typescript Compiler

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 TypeScript将所有ts文件编译为WebStorm 7中的单个JavaScript文件 - TypeScript compile all ts files as a single JavaScript file in WebStorm 7 如何从WebStorm中的Find ...中排除TypeScript生成的JavaScript文件? - How to exclude JavaScript files generated by TypeScript from Find … in WebStorm? 如何强制 WebStorm 不忽略 JavaScript 文件中的 TypeScript 见解? - How to enforce WebStorm not to ignore TypeScript insights in JavaScript files? 我如何在 WebStorm 中“运行”TypeScript 文件? - How I "Run" a TypeScript file in WebStorm? 如何指向打字稿文件而不​​是 javascript 文件 karma runner webstorm - Howto point to typescript file instead of javascript file karma runner webstorm 如何使用 Node 从 WebStorm 中的 JavaScript 堆栈跟踪导航到原始 TypeScript 文件? - How do I navigate to original TypeScript file from JavaScript stacktrace in WebStorm with Node? 如何使用 WebStorm 在 TypeScript 而不是 JavaScript 中创建 Cucumber 步骤定义文件? - How can I use WebStorm to create a Cucumber step definition file in TypeScript instead of JavaScript? WebStorm 特定文件名不会被识别为 TypeScript 文件 - WebStorm specific file names don't get recognized as TypeScript files WebStorm:如何禁用编辑生成的JavaScript文件 - WebStorm: How to disable editing of generated JavaScript files 了解Webstorm上的Typescript定义文件 - Understanding Typescript definition files on Webstorm
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM