Feature request: configurable custom editors and IDEs in Settings for the Open in dropdown

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
55/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript

调研方向

Start by finding the review view's "Open in" dropdown and the server-side launcher endpoint it calls, then trace where the built-in VS Code entry is registered and how Settings values are persisted across upgrades. The change spans three places: a Settings UI for add/edit/remove of entries, a persisted config schema (name plus executable plus argv template with a file-path placeholder), and the launcher, which must pass paths as separate argv items rather than a shell string while keeping the existing origin/session/remote guards. Done means a custom entry appears next to the built-ins and opens a path containing spaces.

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

描述

Request

Please add a Custom editors / IDEs section to Plannotator Settings so users can add their own options to the Open in dropdown for files under review. The feature should support any editor or IDE with a suitable launcher, rather than requiring each product to be added to the built-in application catalog.

My immediate use cases are JetBrains Rider and WebStorm, but the goal is a general, user-configurable solution that also supports other editors, custom IDEs, and nonstandard installation paths.

Suggested Settings experience

Allow users to add, edit, and remove custom editor / IDE entries, with:

  • A display name for the dropdown.
  • A launcher executable or executable path.
  • An argument list / template that can include the reviewed file path, and optionally a line number when available.

For example, I should be able to add Rider using the rider launcher and WebStorm using webstorm, or point an entry at a custom IDE executable. These should appear alongside the existing built-in options.

Selecting a custom entry should open the reviewed file in that application, using the configured arguments. Settings should persist outside the installed package so normal upgrades do not remove custom entries or require generated-file patches or a fork.

Current behavior / environment

  • Plannotator Pi extension 0.28.62, running in Oh My Pi (OMP) on Linux.
  • The review dropdown shows Files and VS Code, but not Rider or WebStorm.
  • Both rider and webstorm launchers resolve on PATH (JetBrains Toolbox installations).
  • I could not find a supported custom-editor setting in the configuration documentation.

Implementation considerations

Please reuse the existing Open in application picker and server-side launcher where practical. Custom commands should be represented as an executable plus an argv list, with file paths substituted as individual arguments rather than interpolated into a shell command. Preserve existing origin/session/path guards and remote-session restrictions; launcher configuration should be trusted local user configuration, not something supplied by reviewed files or shared review content.

This requests external file opening, not an embedded IDE plugin or a new diff integration. Built-in Rider/WebStorm entries would be useful, but would not replace the requested ability to configure arbitrary editors and IDEs in Settings.

Official JetBrains launcher documentation for the motivating examples:

Expected behavior

  • Users can add, edit, and remove custom editor / IDE options through Settings.
  • Custom entries appear in the review file Open in dropdown alongside built-in choices.
  • Selecting an entry opens the reviewed file in the configured application, including paths containing spaces.
  • Rider, WebStorm, and other custom IDEs can be configured without changing Plannotator source.
  • Entries survive restarts and normal extension upgrades.

Searched existing issues and PRs for Rider, WebStorm, JetBrains, and custom editors before originally filing; I did not find an equivalent request.

主要语言
TypeScript
星标
8.7k
派生
649
平均合并
16 小时 1 分钟
30 天内合并 PR
756

环境准备

从这里开始

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

backnotprop/plannotator 的其他 Issue

查看 backnotprop/plannotator 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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