chuongmep / chuongmep/CadPythonShell

Show the file name & path where the "Save This Script Into File" button will save a script

オープン
#11 コメント 1 件 リアクション 1 件 担当者 1 名 @chuongmep が担当を希望しています GitHub で見る
enhancement
主要言語
C#
スター
122
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

説明

### Search for existing feature requests

- [X] I have searched the issue tracker and confirmed that I was unable to find existing issues for the feature I am requesting.

### The feature request

Problem: When you click the "Save This Script Into File" button, it's ambiguous what file will be saved. Presumably it's whatever file you last opened. But if you haven't opened a file yet, or you have but then click the "Save This Script Into New File" button, the "Save This Script Into File" button presumably has a different behavior.

### Proposed solution

When you mouse-over the button, it displays "Save This Script Into File." Perhaps it could also display at least the file name of what file it will actually save into once you click it. Like, "Save This Script Into File - script1.py" for example. I think this would remove the ambiguity of what the button is actually going to do, which would make me worry less that I'm about to overwrite one of my scripts on accident when I click it.

### Additional context

Example:
![image](https://github.com/chuongmep/CadPythonShell/assets/68082080/71095295-dbe6-4cf3-ae15-c41270caf172)

If this functionality is already present and I've just missed it, please let me know.

Thanks!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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