PB-IDE removing non existing Recent Files

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

PB-IDE removing non existing Recent Files

Post by ts-soft »

Sometimes files a renamed, moved or deleted. I think it is a good idea to check the files for Recent List
a available and remove none existing files (as Option).

Greetings - Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Little John
Addict
Addict
Posts: 4779
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PB-IDE removing non existing Recent Files

Post by Little John »

+1
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: PB-IDE removing non existing Recent Files

Post by freak »

If you have files on a removable drive they will disappear from the list every time you start the IDE without the drive connected. This is not so good imho.

They will drop out of the list eventually as you open other files anyway, so i think keeping them is better.
quidquid Latine dictum sit altum videtur
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PB-IDE removing non existing Recent Files

Post by ts-soft »

For this i have written as Option!
I use never a removable drive for pb-sources.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

Re: PB-IDE removing non existing Recent Files

Post by uwekel »

Let's do it like in VB.Net. When you select a file and it is not available at the moment, ask whether or not it should be removed from the recents list.
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: PB-IDE removing non existing Recent Files

Post by PB »

> I use never a removable drive for pb-sources

Different strokes for different folks... all my data is stored and
executed on a 1.5 TB removable USB drive. This is so I can rip
it out and take it with me at a moment's notice, for any reason.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply