Alternative output folder

未關閉
#800 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
csharp
領域
desktop, tooling

研究方向

首先檢視 Visual Studio 擴充功能的轉換選項,以及命令列公用程式現有的替代輸出行為。定義模態視窗應如何在相鄰輸出與複製的方案資料夾之間進行選擇,然後驗證對於要求的目的地,轉換、取消和方案重新載入都能正常運作。

由索引模型根據 Issue 內容生成。

描述

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
主要語言
C#
星號
918
分支
244
平均合併
1 天 10 小時
30 天內合併 PR
29

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

icsharpcode/CodeConverter 的其他 Issue

查看 icsharpcode/CodeConverter 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。