简体   繁体   English

使用JavaScript和IDE中的文档进行编程

[英]Programming in JavaScript with documentation in the IDE

i recently got shown the Phaser framework (found at phaser.io) and plan on using javascript with it. 我最近展示了Phaser框架(位于phaser.io),并计划与其一起使用javascript。 I'm very used to coding in java in eclipse which has code assist that lets you see the documentation of a method (parameters, description etc) and i want to know if there is a way to/how to do it with javascript. 我很习惯在eclipse中用Java进行编码,它具有代码辅助功能,可让您查看方法的文档(参数,说明等),我想知道是否有一种方法/如何使用javascript。 The framework comes with the documentation, but how can i link it to the class in an ide? 该框架随文档一起提供,但是如何将它与ide链接到类中呢?

Check out TypeScript and Phaser.io. 查看TypeScript和Phaser.io。 This will give you full intellisense (auto-complete) in Visual Studio. 这将在Visual Studio中为您提供完整的智能感知(自动完成)。 This is exactly what you desire and the workflow works well as I have been using it for over 6 months. 这正是您所需要的,并且工作流程运行良好,因为我已经使用了6个月以上。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM