XIDE: Rename file

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
Irwin
Posts: 112
Joined: Wed Mar 23, 2022 10:24 am
Location: España

XIDE: Rename file

Post by Irwin »

Hi Chris,

I have created a file but I added (by mistake, copy & paste) a blank space at the beginning of the name, egg: " File.prg" so I tried to rename it by pressing F2 and removing the blank space but when I save (hit enter) it doesn't change the name. I think XIDE thinks the name hasn't changed and ignores white spaces and even capitals because this also doesn't work: "file" to "File" XIDE keeps the original name.
User avatar
wriedmann
Posts: 3821
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Re: XIDE: Rename file

Post by wriedmann »

Hi Irwin,
in this case you should change the name adding a normal character to it, and then remove that character after the successful rename.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
Irwin
Posts: 112
Joined: Wed Mar 23, 2022 10:24 am
Location: España

Re: XIDE: Rename file

Post by Irwin »

wriedmann wrote: Fri Jan 31, 2025 1:14 pm Hi Irwin,
in this case you should change the name adding a normal character to it, and then remove that character after the successful rename.
Wolfgang
Thanks Wolfgang, nice trick but I'm still thinking this should be enhanced someway.
Post Reply