chuongmep / chuongmep/CadPythonShell

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

Aperta
#11 1 commento 1 reazione 1 assegnatario Rivendicata da @chuongmep Vedi su GitHub
enhancement
Lingua principale
C#
Stelle
122
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.