简体   繁体   English

JavaScript IDE /编译器

[英]JavaScript IDE/Compiler

Now, I hope some of you people will understand what I'm asking. 现在,我希望你们中的一些人能理解我的要求。 I'm new to programming. 我是编程新手。 I got introduced to JavaScript on Codecademy.com 我在Codecademy.com上了解了JavaScript

I use labs.codecademy.com for my JavaScript writing, but it's limited. 我使用labs.codecademy.com进行JavaScript编写,但这是有限的。 What IDE/Compiler can I use that's pretty simplistic in terms of being new to programming. 我可以使用什么IDE / Compiler,这在成为编程新手方面非常简单。 Where I'm not surrounded by buttons that I don't know how to use yet. 我还没有被我不知道如何使用的按钮所包围。

Does this even exist? 这是否存在? A simple IDE? 一个简单的IDE?

I think these two editors/IDEs are simple and good for beginners: 我认为这两个编辑器/ IDE非常简单,适合初学者:

More "complicated", but good javascript support: 更加“复杂”,但良好的JavaScript支持:

This is very subjective, but nevertheless have look at this editors and choose what suites best for you. 这是非常主观的,但是仍然请看一下这些编辑器,然后选择最适合您的套件。

I hope I could help you. 希望能对您有所帮助。

Notepad? 记事本? JavaScript doesn't have a compiler really. JavaScript确实没有编译器。 Though there are ways of shrinking the code that some people call "compiling" but it isn't "compiling" in the strictest sense of the word. 尽管有一些方法可以缩小某些人称为“编译”的代码,但从严格意义上讲并不是“编译”的。

If you are looking for something JavaScript specific, give http://www.jetbrains.com/webstorm/ a try. 如果您正在寻找特定于JavaScript的内容, 尝试http://www.jetbrains.com/webstorm/ The personal license is $50 and I'm sure that while it will do more than you need right now, it will grow with you. 个人许可证的价格为50美元,我敢肯定,尽管它会做得比您现在需要的更多,但它会随着您的发展而增长。 There is a 30 day trial. 有30天的试用期。

I was researching this exact question for my daughter. 我正在为女儿研究这个确切的问题。 Like you, she started learning JavaScript on Codecademy. 像您一样,她开始在Codecademy上学习JavaScript。 She loves it, but she is frequently frustrated, when she doesn't understand why a program doesn't work. 她喜欢它,但是当她不明白为什么程序不起作用时,她经常感到沮丧。

So, I researched IDEs and debuggers, and I read that Visual Studio has a debugger that is easy to use. 因此,我研究了IDE和调试器,并了解到Visual Studio具有易于使用的调试器。 But after installing 4 different versions, I had to jump through lots of hoops to create a JavaScript project in Visual Studio Express 2013, and then I couldn't debug it. 但是在安装了4个不同的版本之后,我不得不跳很多圈来在Visual Studio Express 2013中创建一个JavaScript项目,然后我无法对其进行调试。

After a while I gave up and installed Eclipse. 一段时间后,我放弃并安装了Eclipse。 I have used Eclipse before, and it's very powerful. 我以前使用过Eclipse,它非常强大。 I was originally looking for alternatives, because I felt using Eclipse for JavaScript is kind of like using an airplane, when all you need is a bicycle :) 我最初是在寻找替代品,因为我觉得使用Eclipse for JavaScript有点像乘飞机,只需要一辆自行车即可:)

There are many versions and packages of Eclipse. Eclipse有许多版本和软件包。 I think this one might be the simplest to install: http://www.eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/heliossr2 (Helios is a version, and this specific package is for JavaScript developers) 我认为这可能是最简单的安装程序: http : //www.eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/heliossr2 (Helios是一个版本,该特定的包适用于JavaScript开发人员)

I actually used the latest version (Kepler). 我实际上使用的是最新版本(Kepler)。 Unfortunately it doesn't have a package for JavaScript, so I used the Java package: http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/keplersr2 and then added JSDT: http://www.eclipse.org/webtools/jsdt/ 不幸的是,它没有JavaScript包,因此我使用了Java包: http//eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/keplersr2 ,然后添加了JSDT: http:// www.eclipse.org/webtools/jsdt/

Yes, Eclipse can be intimidating for a beginner, but the good thing about Eclipse is that it works on multiple platforms, you can find support for pretty much any language, and it's free :) 是的,Eclipse对于初学者来说可能会令人生畏,但是关于Eclipse的好处是它可以在多种平台上运行,您可以找到对几乎所有语言的支持,并且它是免费的:)

If you are serious about programming, I recommend you invest a little time in learning how to use Eclipse. 如果您对编程很认真,建议您花一些时间来学习如何使用Eclipse。

Let me know if this helps, or if you have more questions. 让我知道这是否有帮助,或者您还有其他问题。

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

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