chuongmep / chuongmep/CadPythonShell

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

Đang mở
#11 1 bình luận 1 reaction 1 người được giao Được @chuongmep nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
C#
Star
122
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.