chuongmep / chuongmep/CadPythonShell

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

未关闭
#11 1 条评论 1 个 reaction 已指派 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 摘要。