java - IntelliJ IDEA : What qualifies as an SDK?

标签 java ruby express intellij-idea sdk

在 IntelliJ 的上下文中,SDK 到底是什么?

Add New SDK dropdown menu in IntelliJ IDEA Project

对于喜欢 IntelliJ IDEA 的多语言功能的 PHP、Ruby 或 JavaScript 应用程序的非 Java 开发人员的教育,请任何知识渊博的 IntelliJ IDEA 用户花点时间解释一下:

2。为什么 SDK 的概念(在 InteliJ 的上下文中)仅对 Java 必不可少?

作为Ryan J他在下面的回答中写道:

An SDK (such as Java) can be very big, containing a lot of information and capability. Other SDK's may simply be a set of API's or libraries, and as such, may not be as conducive to being used with an IDE, and could be deemed as "convenient" from the perspective of a user that is not familiar with the concept of an SDK in the "Java" sense.

更新:1 年后。我编辑了这个问题以专注于我找到的最简单最有用的答案,并将正确答案授予 Ryan J。简单地说: Java 是一个平台。平台有 SDK。PHP、JavaScript 和 Ruby 是语言,具有本问答中未提及的各种可用运行时环境。该程序员现在使用 Sublime Text 3 在这些语言中进行开发。以大量处理器开销为代价,IntelliJ 中有用于重构等的精巧功能。但在 IMO 看来,它们无法与紧凑的正则表达式游戏相提并论。

2。如果不是 SDK,“Ruby SDK”选项是什么?

JetBrains 支持写入:

Ruby has SDK for convenience as users may need multiple Ruby/RVM versions. The same applies to Python, multiple different virtualenvs can be defined and a user may need to switch between them (including Remote SDK on the server via SSH).

3。如果不是 SDK,“PHP 解释器”选项是什么?

JetBrains 支持写入:

PHP has no SDK in IDEA/PhpStorm.

See http://youtrack.jetbrains.com/issue/WI-22627#comment=27-720859

PhpStorm Project Lead Alexey Gopachenko is against the PHP SDK configuration. It would be probably removed or will be available only in IDEA, not sure.

在我看来,这很有道理。 PHP 是一种语言。我们可以使用 IDE 扩展来更好地理解该语言,但它的 API 完全由文本脚本公开。

无耻地夸大了我个人最喜欢的 PHP 工作流程,Phundament .该程序员不再支持 PHP。

最佳答案

JetBrains 终于给出了一个面向 Node.js 的答案。来自 devnet.jetbrains.com :

No, configuring Node.js SDK isn't on our roadmap, because of IDE design limitation: a project can have only one SDK associated. Thus, projects that already have SDK (e.g. python, java, ruby) wouldn't be able to configure Node.js SDK.

但是,我仍然非常有兴趣提出对 IntelliJ 的增强,以使那些选择将其用作 JavaScript 全栈 IDE 的用户受益。

目前,我已经为使用 Daftmonk 的 angular-fullstack 构建的全栈 JavaScript 应用程序对我的 IntelliJ IDEA 进行了非常严格的设置。 Yeoman 生成器。

我已选择将其发布为一个新的 self 回答问题 here .

关于java - IntelliJ IDEA : What qualifies as an SDK?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23376277/

相关文章:

java - 有没有办法在应用程序开发过程中生成推文?

java - 更新使用 kubernetes 部署的 3 节点 cassandra 集群中的记录时出现问题

python - 为什么 Python 比 Ruby 快?

javascript - Node Express 和 csurf - 403(禁止)无效的 csrf token

java - TornadoFX 中设置 PrimaryStage 或 Scene 属性的方法

java - JPA - 级联问题

ruby - 在 Sinatra 中使用 Rack::CommonLogger

ruby-on-rails - [] Ruby 字符串的方法

node.js - 类型错误 : Object #<IncomingMessage> has no method 'flash'

html - 在 html 文件中调用 node.js 函数