Alternative output folder

Đang mở
#800 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
desktop, tooling

Hướng nghiên cứu

Bắt đầu bằng việc xem xét các tùy chọn chuyển đổi của tiện ích mở rộng Visual Studio và hành vi đầu ra thay thế hiện có của tiện ích dòng lệnh. Xác định cách modal chọn giữa đầu ra liền kề và một thư mục solution được sao chép, sau đó xác minh rằng việc chuyển đổi, hủy và tải lại solution hoạt động cho đích được yêu cầu.

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

Mô tả

enhancement help wanted
Is your feature request related to a problem? Please describe.

I had initially thought that the output window listing file locations in addition to the option of reloading Visual Studio to for the converted project would be reasonably clear, but several people have been confused/unhappy about the resulting location of the converted files:

Sunil Kumar Puri 9/18/2020

Where do the converted files go

Gordon Bell 8/24/2020

Why does Conversion take place in same folder structure?

Jim Tollan 9/29/2020

I know that you mention that the command line utility allows you to select an alternative output folder. Would it be overly complex to include this as part of the addin?

Describe the solution you'd like

When someone clicks any of the convert options, a modal dialog should appear with various options,
e.g.

You are converting MySolution.sln
Where would you like the converted files to go?

  • Adjacent to the existing files
  • In a copy of the solution in this folder: [Textbox]

Convert [Button] Cancel [Button]

This would also cover https://github.com/icsharpcode/CodeConverter/issues/776

Describe alternatives you've considered
Additional context

Side-by-side conversion has these benefits:

  • Easy to compare the conversion result to the input file to diagnose and fix any inaccuracies.
  • Minimizes changes needed to any other referencing projects/solutions.
  • Minimizes chance of breaking relative paths to other resources.
  • VS offers to reload the solution
Ngôn ngữ chính
C#
Star
918
Fork
244
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
29

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 icsharpcode/CodeConverter

Tất cả issue của icsharpcode/CodeConverter

Issue tương tự

Thêm issue về C#

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.