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

Đang mở
#3,368 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
649
Merge trung bình
16 giờ 1 phút
Pull request đã merge (30 ngày)
756

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của backnotprop/plannotator

Tất cả issue của backnotprop/plannotator

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.