Alternative output folder

オープン
#800 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

icsharpcode/CodeConverter のほかの issue

icsharpcode/CodeConverter の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。