[英]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.