chuongmep / chuongmep/CadPythonShell

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

Open
#11 1 comment 1 reaction 1 assignee Claimed by @chuongmep View on GitHub
enhancement
Dominant language
C#
Stars
122
Forks
24
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.