eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper

Let user select a version a `runtimeExecutable` path to specific node.js in Node Launch Configuration

未关闭
#335 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
Java
星标
201
派生
76
平均合并
4 天 7 小时
30 天内合并 PR
21

描述

WWD needs a NodeJS to run language servers, and also to execute NodeJS launch configurations. Currently, there's not much control over which NodeJS is used. You either have to set org.eclipse.wildwebdeveloper.nodeJSLocation in eclipse.ini or add NodeJS to your PATH. This isn't very flexible, and is problematic because I work on multiple projects that use different versions of NodeJS.

Today, I'm just setting nodeJSLocation and living with the fact that language servers are run with a different NodeJS than the projects are built with. And I'm using JSDT's NodeJS launch config to build the projects, since JSDT allows me to select which NodeJS I want.

It would be nice if WWD provided a workspace-level config option to set which NodeJS to use, and used the specified NodeJS to start language servers and to run NodeJS launch configs.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先跟踪现有的 org.eclipse.wildwebdeveloper.nodeJSLocation 设置、语言服务器启动过程以及 NodeJS 启动配置。完成的标准是,工作区级别的 Node.js 选择同时对语言服务器和 NodeJS 启动配置生效,包括使用不同 Node.js 版本的项目。

由索引模型根据 Issue 内容生成。

评估

技术栈
node.js
领域
developer-experience
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。